From 98701104d8f2ed968575d36b7a55867bac6b78b1 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 11 Feb 2015 20:17:08 +0100 Subject: [PATCH] Resolve duplication Bug #2419 https://github.com/mcMMO-Dev/mcMMO/issues/2419 --- .../com/gmail/nossr50/runnables/StickyPistonTrackerTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/runnables/StickyPistonTrackerTask.java b/src/main/java/com/gmail/nossr50/runnables/StickyPistonTrackerTask.java index 3fa317742..148ce83b2 100644 --- a/src/main/java/com/gmail/nossr50/runnables/StickyPistonTrackerTask.java +++ b/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)); } }