fix core?

This commit is contained in:
ChomeNS
2023-04-30 09:52:14 +07:00
parent f6b4b09335
commit 6a4a272e4e
3 changed files with 42 additions and 14 deletions

View File

@@ -145,10 +145,14 @@ public class CorePlugin extends PositionPlugin.PositionListener {
public void packetReceived (ClientboundBlockUpdatePacket packet) {
final BlockChangeEntry entry = packet.getEntry();
System.out.println(entry.getBlock());
if (
entry.getBlock() == 12369 ||
entry.getBlock() == 12379 ||
entry.getBlock() == 7910
entry.getBlock() == 7910 ||
entry.getBlock() == 7908 ||
entry.getBlock() == 12365
) return;
final Vector3i position = entry.getPosition();
@@ -164,10 +168,14 @@ public class CorePlugin extends PositionPlugin.PositionListener {
for (BlockChangeEntry entry : entries) {
final Vector3i position = entry.getPosition();
System.out.println(entry.getBlock());
if (
entry.getBlock() == 12369 ||
entry.getBlock() == 12379 ||
entry.getBlock() == 7910
entry.getBlock() == 7910 ||
entry.getBlock() == 7908 ||
entry.getBlock() == 12365
) return;
if (isCore(position)) willRefill = true;