From e1fba0573cc27d3a4744bbb7aace52878fe25b77 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 23 Nov 2021 16:48:52 +0100 Subject: [PATCH] Update WorldListener.java --- .../rip/tilly/bedwars/listeners/game/WorldListener.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/rip/tilly/bedwars/listeners/game/WorldListener.java b/src/main/java/rip/tilly/bedwars/listeners/game/WorldListener.java index ab71dc4..1b37aab 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/game/WorldListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/game/WorldListener.java @@ -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());