geforkt von SteamWar/BungeeCore
Removed Debug Messages
Dieser Commit ist enthalten in:
Ursprung
34534b49d8
Commit
51db5a8ad4
@ -25,7 +25,6 @@ public class InventoryCallbackHandler extends Handler {
|
|||||||
if(type == CallbackType.CLICK) {
|
if(type == CallbackType.CLICK) {
|
||||||
SWItem item = SWItem.getFromJson(byteArrayDataInput.readUTF());
|
SWItem item = SWItem.getFromJson(byteArrayDataInput.readUTF());
|
||||||
InvCallback.ClickType clickType = InvCallback.ClickType.valueOf(byteArrayDataInput.readUTF());
|
InvCallback.ClickType clickType = InvCallback.ClickType.valueOf(byteArrayDataInput.readUTF());
|
||||||
System.out.println(item.writeToString());
|
|
||||||
inventoryHashMap.get(owner).handleCallback(clickType, item);
|
inventoryHashMap.get(owner).handleCallback(clickType, item);
|
||||||
}else if(type == CallbackType.CLOSE) {
|
}else if(type == CallbackType.CLOSE) {
|
||||||
inventoryHashMap.get(owner).handleClose();
|
inventoryHashMap.get(owner).handleClose();
|
||||||
|
@ -16,7 +16,6 @@ public class PacketHandler extends BasicListener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onPluginMessage(PluginMessageEvent event) {
|
public void onPluginMessage(PluginMessageEvent event) {
|
||||||
System.out.println(event.toString());
|
|
||||||
if(!event.getTag().equalsIgnoreCase("sw:return"))
|
if(!event.getTag().equalsIgnoreCase("sw:return"))
|
||||||
return;
|
return;
|
||||||
ByteArrayDataInput in = ByteStreams.newDataInput(event.getData());
|
ByteArrayDataInput in = ByteStreams.newDataInput(event.getData());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren