Removing debug output
Dieser Commit ist enthalten in:
Ursprung
b3dc01bdb3
Commit
3efacade25
@ -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))
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren