Re-add call to Ingredient#invalidateAll() (#7953)

This commit is contained in:
Alex O'Neill authored and GitHub committed 2021-07-30 17:42:52 -07:00
1 parent 30cfd848d8
commit 5dbea18e30
1 file changed
+2
@@ -24,6 +24,7 @@ import net.minecraft.commands.synchronization.ArgumentTypes;
import net.minecraft.commands.synchronization.ArgumentSerializer;
import net.minecraft.world.entity.ai.attributes.Attribute;
import net.minecraft.world.entity.ai.attributes.RangedAttribute;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.item.Items;
import net.minecraft.sounds.SoundEvent;
@@ -225,6 +226,7 @@ public class ForgeMod implements WorldPersistenceHooks.WorldPersistenceHook
public void mappingChanged(FMLModIdMappingEvent evt)
{
Ingredient.invalidateAll();
}
@Override