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
1 changed files with 0 additions and 3 deletions

View File

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