We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffb0c1 commit fba8333Copy full SHA for fba8333
1 file changed
worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java
@@ -53,9 +53,10 @@ public final class Materials {
53
private static final Set<PotionEffectType> DAMAGE_EFFECTS = new HashSet<>();
54
55
private static void putMaterialTag(Tag<Material> tag, Integer value) {
56
+ if (tag == null) return;
57
tag.getValues().forEach(mat -> MATERIAL_FLAGS.put(mat, value));
58
}
- private static Tag<Material> SIGNS_TAG;
59
+ private static Tag<Material> SIGNS_TAG = Tag.SIGNS;
60
61
static {
62
ENTITY_ITEMS.put(EntityType.PAINTING, Material.PAINTING);
0 commit comments