SteamWar/SpigotCore
Archiviert
13
0

Removing debug output

Dieser Commit ist enthalten in:
Lixfel 2019-06-04 17:35:36 +02:00
Ursprung b3dc01bdb3
Commit 3efacade25

Datei anzeigen

@ -76,7 +76,6 @@ public class SWInventory implements Listener, Inventory {
@EventHandler
public void onInventoryClick(InventoryClickEvent e){
System.out.println("Click");
e.setCancelled(true);
if(callbacks.containsKey(e.getRawSlot()))
callbacks.get(e.getSlot()).clicked();
@ -84,7 +83,6 @@ public class SWInventory implements Listener, Inventory {
@EventHandler
public void onInventoryClose(InventoryCloseEvent e){
System.out.println("Close");
InventoryClickEvent.getHandlerList().unregister(this);
InventoryCloseEvent.getHandlerList().unregister(this);
if(callbacks.containsKey(-1))