mirror of
https://github.com/kaboomserver/extras.git
synced 2024-10-31 16:59:24 +00:00
Remove debug change
This commit is contained in:
parent
61562aa29d
commit
b443236a8d
|
@ -42,10 +42,8 @@ class PlayerConnection implements Listener {
|
|||
|
||||
@EventHandler
|
||||
void onInventoryClose(InventoryCloseEvent event) {
|
||||
for (int i = 0; i < 64; i++) {
|
||||
//for (ItemStack item : event.getInventory().getContents()) {
|
||||
System.out.println(event.getInventory().getItem(i));
|
||||
if (EntitySpawn.isIllegalItem(event.getInventory().getItem(i))) {
|
||||
for (ItemStack item : event.getInventory().getContents()) {
|
||||
if (EntitySpawn.isIllegalItem(item)) {
|
||||
event.getInventory().clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue