Removing debug output
Dieser Commit ist enthalten in:
Ursprung
b3dc01bdb3
Commit
3efacade25
@ -76,7 +76,6 @@ public class SWInventory implements Listener, Inventory {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onInventoryClick(InventoryClickEvent e){
|
public void onInventoryClick(InventoryClickEvent e){
|
||||||
System.out.println("Click");
|
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
if(callbacks.containsKey(e.getRawSlot()))
|
if(callbacks.containsKey(e.getRawSlot()))
|
||||||
callbacks.get(e.getSlot()).clicked();
|
callbacks.get(e.getSlot()).clicked();
|
||||||
@ -84,7 +83,6 @@ public class SWInventory implements Listener, Inventory {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onInventoryClose(InventoryCloseEvent e){
|
public void onInventoryClose(InventoryCloseEvent e){
|
||||||
System.out.println("Close");
|
|
||||||
InventoryClickEvent.getHandlerList().unregister(this);
|
InventoryClickEvent.getHandlerList().unregister(this);
|
||||||
InventoryCloseEvent.getHandlerList().unregister(this);
|
InventoryCloseEvent.getHandlerList().unregister(this);
|
||||||
if(callbacks.containsKey(-1))
|
if(callbacks.containsKey(-1))
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren