From 3e83916682b13514fd96755ed32437957469bf7f Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Sun, 11 Mar 2018 19:52:25 -0700 Subject: [PATCH] Failsafe for door check --- .../factions/listeners/FactionsPlayerListener.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java index 4ccead8b..e314d0de 100644 --- a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -440,6 +440,10 @@ public class FactionsPlayerListener implements Listener { action = PermissableAction.CONTAINER; break; default: + // Check for doors that might have diff material name in old version. + if (block.getType().name().contains("DOOR")) { + action = PermissableAction.DOOR; + } break; }