fix literally wrong comment that did not match subsequent code
This commit is contained in:
parent
93fa6cf875
commit
5c7cae9ab0
@ -124,9 +124,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (block instanceof BlockDoor || block instanceof BlockFenceGate) {
|
if (block instanceof BlockDoor || block instanceof BlockFenceGate) {
|
||||||
// Because there's no nice method in vanilla to check if a door is openable or not, we just have to assume
|
// TODO this assumes that all doors in all mods are openable
|
||||||
// that anything that isn't an iron door isn't openable, ignoring that some doors introduced in mods can't
|
|
||||||
// be opened by just interacting.
|
|
||||||
if (block == Blocks.IRON_DOOR) {
|
if (block == Blocks.IRON_DOOR) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user