mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
mcMMO now tracks blocks moved by pistons and flags them as unnatural, even if they were natural to combat automated xp farming
This commit is contained in:
@ -70,7 +70,7 @@ public class BlockListener implements Listener {
|
||||
movedBlock = movedBlock.getRelative(direction, 2);
|
||||
|
||||
for (Block b : event.getBlocks()) {
|
||||
if (BlockUtils.shouldBeWatched(b.getState()) && mcMMO.getPlaceStore().isTrue(b)) {
|
||||
if (BlockUtils.shouldBeWatched(b.getState())) {
|
||||
movedBlock = b.getRelative(direction);
|
||||
mcMMO.getPlaceStore().setTrue(movedBlock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user