parent
d070f47d2d
commit
35eae83dcc
|
@ -50,6 +50,7 @@ public class BlockBreakListener implements Listener {
|
|||
for (int z = -radius; z < radius; z++) {
|
||||
if (x == 0 && y == 0 && z == 0) continue;
|
||||
Block block = event.getBlock().getRelative(x, y, z);
|
||||
if (cache.contains(block.getLocation())) return;
|
||||
queue.add(new BlockEvent(event.getPlayer(), block.getType(), block.getLocation(), false));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue