Small brain

This commit is contained in:
Brady 2018-11-11 17:12:18 -06:00
parent 51243f0981
commit e81d0a0b1b
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -42,18 +42,6 @@ public enum PathingBlockType {
}
public static PathingBlockType fromBits(boolean b1, boolean b2) {
if (b1) {
if (b2) {
return PathingBlockType.SOLID;
} else {
return PathingBlockType.AVOID;
}
} else {
if (b2) {
return PathingBlockType.WATER;
} else {
return PathingBlockType.AIR;
}
}
return b1 ? b2 ? SOLID : AVOID : b2 ? WATER : AIR;
}
}