Update WorldListener.java
This commit is contained in:
parent
85a2027d47
commit
e1fba0573c
@ -214,10 +214,10 @@ public class WorldListener implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!game.getDroppedItems().contains(event.getItem().getItemStack())) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
// if (!game.getDroppedItems().contains(event.getItem().getItemStack())) {
|
||||
// event.setCancelled(true);
|
||||
// return;
|
||||
// }
|
||||
|
||||
game.getDroppedItems().remove(event.getItem().getItemStack());
|
||||
game.removeEntityToRemove(event.getItem());
|
||||
|
Loading…
Reference in New Issue
Block a user