Fix backwards compatibility with 1.19.4

This commit is contained in:
Joo200 2023-06-21 22:20:42 +02:00
parent fffb0c1f98
commit fba8333de3
1 changed files with 2 additions and 1 deletions

View File

@ -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);