mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01: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:
parent
af9b631ee2
commit
e80e771e9d
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user