Browse Source

Resolve duplication Bug #2419

https://github.com/mcMMO-Dev/mcMMO/issues/2419
Benjamin 10 years ago
parent
commit
98701104d8

+ 1 - 1
src/main/java/com/gmail/nossr50/runnables/StickyPistonTrackerTask.java

@@ -31,6 +31,6 @@ public class StickyPistonTrackerTask extends BukkitRunnable {
 
         // The sticky piston actually pulled the block so move the PlaceStore data
         mcMMO.getPlaceStore().setFalse(movedBlock);
-        mcMMO.getPlaceStore().setTrue(block.getRelative(direction));
+        mcMMO.getPlaceStore().setTrue(movedBlock.getRelative(direction));
     }
 }