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:
nossr50 2019-03-09 17:12:34 -08:00
parent af9b631ee2
commit e80e771e9d
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Key:
- Removal
Version 2.1.14
mcMMO now flags blocks moved by piston as not natural to prevent automated XP farms
Fixed a bug where Fuel Efficiency was way too good
Fuel Efficiency now uses the rank system
Removed Fuel Efficiency config options in advanced.yml

View File

@ -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);
}