actually i forgor 1 thing
its the command block update thing which we want to ignore it
This commit is contained in:
@@ -146,6 +146,12 @@ public class CorePlugin extends PositionPlugin.PositionListener {
|
||||
public void packetReceived (ClientboundBlockUpdatePacket packet) {
|
||||
final BlockChangeEntry entry = packet.getEntry();
|
||||
|
||||
if (
|
||||
entry.getBlock() == 12369 ||
|
||||
entry.getBlock() == 12379 ||
|
||||
entry.getBlock() == 7910
|
||||
) return;
|
||||
|
||||
final Vector3i position = entry.getPosition();
|
||||
|
||||
if (isCore(position)) refill();
|
||||
@@ -159,6 +165,12 @@ public class CorePlugin extends PositionPlugin.PositionListener {
|
||||
for (BlockChangeEntry entry : entries) {
|
||||
final Vector3i position = entry.getPosition();
|
||||
|
||||
if (
|
||||
entry.getBlock() == 12369 ||
|
||||
entry.getBlock() == 12379 ||
|
||||
entry.getBlock() == 7910
|
||||
) return;
|
||||
|
||||
if (isCore(position)) willRefill = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user