Failsafe for door check

This commit is contained in:
Trent Hensler 2018-03-11 19:52:25 -07:00
parent 1ede2b35d6
commit 3e83916682

View File

@ -440,6 +440,10 @@ public class FactionsPlayerListener implements Listener {
action = PermissableAction.CONTAINER; action = PermissableAction.CONTAINER;
break; break;
default: default:
// Check for doors that might have diff material name in old version.
if (block.getType().name().contains("DOOR")) {
action = PermissableAction.DOOR;
}
break; break;
} }