diff --git a/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java b/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java index 62ad5a52..aa2d1261 100644 --- a/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java +++ b/src/main/java/net/Indyuce/mmocore/listener/BlockListener.java @@ -49,7 +49,7 @@ public class BlockListener implements Listener { */ BlockInfo info = MMOCore.plugin.mineManager.getInfo(block); boolean temporaryBlock = MMOCore.plugin.mineManager.isTemporaryBlock(block); - if ((temporaryBlock && info == null) || !info.checkConditions(block)) { + if ((temporaryBlock && info == null) || (info != null && !info.checkConditions(block))) { event.setCancelled(true); return; }