From 5134ddacf3b71176733e900f32f70da0b99d8b7c Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:47:21 +0700 Subject: [PATCH] sex --- .../land/chipmunk/chayapak/chomens_bot/plugins/CorePlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }