Failsafe for door check
This commit is contained in:
parent
1ede2b35d6
commit
3e83916682
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user