From 2451e49df2cbbe0f9790c7b59c805427a7085b42 Mon Sep 17 00:00:00 2001 From: cpw Date: Sun, 22 Mar 2015 12:54:05 -0400 Subject: [PATCH] Substitutions need to be activated when they're registered, otherwise they won't appear in world, ever. --- fml/src/main/java/cpw/mods/fml/common/registry/GameData.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fml/src/main/java/cpw/mods/fml/common/registry/GameData.java b/fml/src/main/java/cpw/mods/fml/common/registry/GameData.java index 816ab0e490..b4c59f189f 100644 --- a/fml/src/main/java/cpw/mods/fml/common/registry/GameData.java +++ b/fml/src/main/java/cpw/mods/fml/common/registry/GameData.java @@ -1000,6 +1000,7 @@ public class GameData { void registerSubstitutionAlias(String nameToSubstitute, Type type, Object toReplace) throws ExistingSubstitutionException { type.getRegistry().addSubstitutionAlias(Loader.instance().activeModContainer().getModId(),nameToSubstitute, toReplace); + type.getRegistry().activateSubstitution(nameToSubstitute); } static RegistryDelegate buildDelegate(T referant, Class type) {