From b51f7778366c624512820b937c7bcf0f669e0c0a Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Sun, 2 Feb 2020 16:31:47 +0100 Subject: [PATCH] Fixed little issue with < 1.12.2 support --- .../nl/SBDeveloper/V10Lift/API/Runnables/MoveLift.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/nl/SBDeveloper/V10Lift/API/Runnables/MoveLift.java b/src/main/java/nl/SBDeveloper/V10Lift/API/Runnables/MoveLift.java index 5c2b02d..831f4be 100644 --- a/src/main/java/nl/SBDeveloper/V10Lift/API/Runnables/MoveLift.java +++ b/src/main/java/nl/SBDeveloper/V10Lift/API/Runnables/MoveLift.java @@ -191,7 +191,7 @@ public class MoveLift implements Runnable { state.setRawData(lib.getData()); } state.update(true); - if (!XMaterial.isNewVersion()) { + if (XMaterial.isNewVersion()) { DirectionUtil.setDirection(block, lib.getFace()); } lb = lift.getBlocks().first(); @@ -234,7 +234,7 @@ public class MoveLift implements Runnable { state.setRawData(lib.getData()); } state.update(true); - if (!XMaterial.isNewVersion()) { + if (XMaterial.isNewVersion()) { DirectionUtil.setDirection(block, lib.getFace()); } lift.getBlocks().add(lib); @@ -322,7 +322,7 @@ public class MoveLift implements Runnable { state.setRawData(lib.getData()); } state.update(true); - if (!XMaterial.isNewVersion()) { + if (XMaterial.isNewVersion()) { DirectionUtil.setDirection(block, lib.getFace()); } } @@ -345,7 +345,7 @@ public class MoveLift implements Runnable { state.setRawData(lib.getData()); } state.update(true); - if (!XMaterial.isNewVersion()) { + if (XMaterial.isNewVersion()) { DirectionUtil.setDirection(block, lib.getFace()); } lift.getBlocks().add(lib);