comment + todo

This commit is contained in:
Oth3r 2024-08-07 12:46:47 -05:00
commit b464287fed
2 changed files with 2 additions and 1 deletions

View file

@ -55,7 +55,7 @@ public class CustomBlock {
if (!blockType) return false; if (!blockType) return false;
// now check if the state is one of the acceptable states // 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 there is a NOT (!) blockstate
if (state.startsWith("!")) { if (state.startsWith("!")) {
// if it is contained in the block, return false // if it is contained in the block, return false

View file

@ -54,6 +54,7 @@ public class Logic {
// if can't sit with hand, false // if can't sit with hand, false
if (!sittingConfig.canSitWithHand()) return false; if (!sittingConfig.canSitWithHand()) return false;
// a boolean that shows if the player can sit or not
boolean canSit = true; boolean canSit = true;
// for each hand // for each hand