fix literally wrong comment that did not match subsequent code

This commit is contained in:
Leijurv 2022-07-14 21:43:14 -07:00
parent 93fa6cf875
commit 5c7cae9ab0
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -124,9 +124,7 @@ public interface MovementHelper extends ActionCosts, Helper {
}
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
// 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.
// TODO this assumes that all doors in all mods are openable
if (block == Blocks.IRON_DOOR) {
return FALSE;
}