diff --git a/src/main/java/tech/sbdevelopment/v10lift/V10LiftPlugin.java b/src/main/java/tech/sbdevelopment/v10lift/V10LiftPlugin.java index 146ec0c..6e1132f 100644 --- a/src/main/java/tech/sbdevelopment/v10lift/V10LiftPlugin.java +++ b/src/main/java/tech/sbdevelopment/v10lift/V10LiftPlugin.java @@ -23,7 +23,6 @@ import java.sql.SQLException; import java.util.Collections; public class V10LiftPlugin extends JavaPlugin { - @Getter private static V10LiftPlugin instance; private static YamlFile config; diff --git a/src/main/java/tech/sbdevelopment/v10lift/api/runnables/MoveLift.java b/src/main/java/tech/sbdevelopment/v10lift/api/runnables/MoveLift.java index b31e14c..2f61a83 100644 --- a/src/main/java/tech/sbdevelopment/v10lift/api/runnables/MoveLift.java +++ b/src/main/java/tech/sbdevelopment/v10lift/api/runnables/MoveLift.java @@ -215,12 +215,10 @@ public class MoveLift implements Runnable { state.setType(lib.getMat()); state.update(true); - if (XMaterial.supports(13)) { - BlockStateUtil.setDirection(nextBlock, lib.getFace()); - BlockStateUtil.setBisected(nextBlock, lib.getBisected()); - BlockStateUtil.setSlabType(nextBlock, lib.getSlabType()); - BlockStateUtil.setOpen(nextBlock, lib.getOpen()); - } + BlockStateUtil.setDirection(nextBlock, lib.getFace()); + BlockStateUtil.setBisected(nextBlock, lib.getBisected()); + BlockStateUtil.setSlabType(nextBlock, lib.getSlabType()); + BlockStateUtil.setOpen(nextBlock, lib.getOpen()); if (direction == LiftDirection.UP) { //Teleportation is only required if we go up, for down gravity works fine. ;) for (Entity ent : nextBlock.getChunk().getEntities()) {