From b31bd18dec68b729aa844060394542600f9ffea3 Mon Sep 17 00:00:00 2001 From: Aria Sangarin Date: Fri, 3 Apr 2020 19:12:41 +0200 Subject: [PATCH] (Hopefully) fixed temp blocks --- src/main/java/net/Indyuce/mmocore/listener/BlockListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java b/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java index 183519ba..b66e60ba 100644 --- a/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java +++ b/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java @@ -77,8 +77,8 @@ public class BlockListener implements Listener { * remove vanilla drops if needed */ if (!info.hasVanillaDrops()) { - event.setDropItems(false); // May not work - // event.setCancelled(true); + //event.setDropItems(false); // May not work + event.setCancelled(true); event.getBlock().setType(Material.AIR); }