Hotfix NPE
Dieser Commit ist enthalten in:
Ursprung
c8bf5e7c76
Commit
f3b5838a16
@ -92,7 +92,7 @@ public class SWInventory implements Listener {
|
||||
return;
|
||||
|
||||
e.setCancelled(true);
|
||||
if(callbacks.containsKey(e.getRawSlot()))
|
||||
if(callbacks.containsKey(e.getRawSlot()) && callbacks.get(e.getRawSlot()) != null)
|
||||
callbacks.get(e.getRawSlot()).clicked(e.getClick());
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren