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) {
|
||||
SWItem item = SWItem.getFromJson(byteArrayDataInput.readUTF());
|
||||
InvCallback.ClickType clickType = InvCallback.ClickType.valueOf(byteArrayDataInput.readUTF());
|
||||
System.out.println(item.writeToString());
|
||||
inventoryHashMap.get(owner).handleCallback(clickType, item);
|
||||
}else if(type == CallbackType.CLOSE) {
|
||||
inventoryHashMap.get(owner).handleClose();
|
||||
|
@ -16,7 +16,6 @@ public class PacketHandler extends BasicListener {
|
||||
|
||||
@EventHandler
|
||||
public void onPluginMessage(PluginMessageEvent event) {
|
||||
System.out.println(event.toString());
|
||||
if(!event.getTag().equalsIgnoreCase("sw:return"))
|
||||
return;
|
||||
ByteArrayDataInput in = ByteStreams.newDataInput(event.getData());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren