diff --git a/src/main/java/one/oth3r/sit/file/CustomBlock.java b/src/main/java/one/oth3r/sit/file/CustomBlock.java index 203eac6..c1c04a9 100644 --- a/src/main/java/one/oth3r/sit/file/CustomBlock.java +++ b/src/main/java/one/oth3r/sit/file/CustomBlock.java @@ -55,7 +55,7 @@ public class CustomBlock { if (!blockType) return false; // now check if the state is one of the acceptable states - for (String state : blockStates) { + for (String state : blockStates) { //todo extract the blockstates to check them better // if there is a NOT (!) blockstate if (state.startsWith("!")) { // if it is contained in the block, return false diff --git a/src/main/java/one/oth3r/sit/utl/Logic.java b/src/main/java/one/oth3r/sit/utl/Logic.java index 343ca73..f81c013 100644 --- a/src/main/java/one/oth3r/sit/utl/Logic.java +++ b/src/main/java/one/oth3r/sit/utl/Logic.java @@ -54,6 +54,7 @@ public class Logic { // if can't sit with hand, false if (!sittingConfig.canSitWithHand()) return false; + // a boolean that shows if the player can sit or not boolean canSit = true; // for each hand