diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java index 2424f13..3ec1855 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java @@ -238,7 +238,7 @@ public class CorePlugin extends PositionPlugin.Listener { public void packetReceived (ClientboundLevelChunkWithLightPacket packet) { boolean hasCoreY = false; for (BlockEntityInfo info : packet.getBlockEntities()) { - if (info.getY() >= fromSize.getY() && info.getY() <= toSize.getY() && info.getType() == BlockEntityType.COMMAND_BLOCK) { + if (info.getY() >= fromSize.getY() && info.getY() <= toSize.getY()) { hasCoreY = true; break; }