useless check?

This commit is contained in:
Leijurv 2018-11-01 15:41:53 -07:00
parent b65a199e54
commit 42eb86b624
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -254,9 +254,6 @@ public interface MovementHelper extends ActionCosts, Helper {
return false; return false;
} }
if (state.isBlockNormalCube()) { if (state.isBlockNormalCube()) {
if (isLava(block) || isWater(block)) {
throw new IllegalStateException();
}
return true; return true;
} }
if (block == Blocks.LADDER || (block == Blocks.VINE && Baritone.settings().allowVines.get())) { // TODO reconsider this if (block == Blocks.LADDER || (block == Blocks.VINE && Baritone.settings().allowVines.get())) { // TODO reconsider this