codady submission complete

This commit is contained in:
Leijurv
2018-10-27 16:18:03 -07:00
parent 1dee8ef355
commit c4b0e0a810
4 changed files with 42 additions and 50 deletions

View File

@@ -226,7 +226,7 @@ public interface MovementHelper extends ActionCosts, Helper {
return true;
}
return facing == playerFacing == open;
return (facing == playerFacing) == open;
}
static boolean avoidWalkingInto(Block block) {
@@ -295,10 +295,7 @@ public interface MovementHelper extends ActionCosts, Helper {
}
return true;
}
if (block instanceof BlockStairs) {
return true;
}
return false;
return block instanceof BlockStairs;
}
static boolean canWalkOn(BetterBlockPos pos, IBlockState state) {