From a4213669e38aa26ea1784aceabb12022cbcd9ba9 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 25 Jun 2023 16:04:55 +0700 Subject: [PATCH] fix lol --- .../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 41cdb52..4e69863 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 @@ -225,7 +225,7 @@ public class CorePlugin extends PositionPlugin.Listener { } public void packetReceived (ClientboundLevelChunkWithLightPacket packet) { - final Vector3i position = Vector3i.from(packet.getX() * 16, 0, packet.getZ() * 16); // mabe + final Vector3i position = Vector3i.from(packet.getX() * 16, coreStart.getY(), packet.getZ() * 16); // mabe if (isCore(position)) refill(); }