Fix backwards compatibility with 1.19.4
This commit is contained in:
parent
fffb0c1f98
commit
fba8333de3
|
@ -53,9 +53,10 @@ public final class Materials {
|
|||
private static final Set<PotionEffectType> DAMAGE_EFFECTS = new HashSet<>();
|
||||
|
||||
private static void putMaterialTag(Tag<Material> tag, Integer value) {
|
||||
if (tag == null) return;
|
||||
tag.getValues().forEach(mat -> MATERIAL_FLAGS.put(mat, value));
|
||||
}
|
||||
private static Tag<Material> SIGNS_TAG;
|
||||
private static Tag<Material> SIGNS_TAG = Tag.SIGNS;
|
||||
|
||||
static {
|
||||
ENTITY_ITEMS.put(EntityType.PAINTING, Material.PAINTING);
|
||||
|
|
Loading…
Reference in New Issue