Archiviert
1
0

Removed Debug Messages

Dieser Commit ist enthalten in:
Chaoscaot 2020-09-19 12:38:14 +02:00
Ursprung 34534b49d8
Commit 51db5a8ad4
2 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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();

Datei anzeigen

@ -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());