actually i forgor 1 thing
its the command block update thing which we want to ignore it
This commit is contained in:
parent
54a31bceb0
commit
c5c2c653fc
1 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue