mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-03 14:01:56 +01:00
Extend use flag to all (trap)doors.
There's no tag which has wood+copper, but iron are not interactable anyway. Relates to #2130.
This commit is contained in:
parent
8ffc81ad74
commit
aa46529ecb
@ -1315,8 +1315,8 @@ public static boolean isVine(Material newType) {
|
||||
*/
|
||||
public static boolean isUseFlagApplicable(Material material) {
|
||||
if (Tag.BUTTONS.isTagged(material)
|
||||
|| Tag.WOODEN_DOORS.isTagged(material)
|
||||
|| Tag.WOODEN_TRAPDOORS.isTagged(material)
|
||||
|| Tag.DOORS.isTagged(material)
|
||||
|| Tag.TRAPDOORS.isTagged(material)
|
||||
|| Tag.FENCE_GATES.isTagged(material)
|
||||
|| Tag.PRESSURE_PLATES.isTagged(material)) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user