diff --git a/fml/src/main/java/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.java b/fml/src/main/java/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.java index 7f013bd0ab..8d2a1112eb 100644 --- a/fml/src/main/java/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.java +++ b/fml/src/main/java/cpw/mods/fml/common/registry/FMLControlledNamespacedRegistry.java @@ -95,6 +95,8 @@ public class FMLControlledNamespacedRegistry extends RegistryNamespaced { this.minId = registry.minId; this.aliases.clear(); this.aliases.putAll(registry.aliases); + this.activeSubstitutions.clear(); + underlyingIntegerMap = new ObjectIntIdentityMap(); registryObjects.clear(); @@ -102,6 +104,7 @@ public class FMLControlledNamespacedRegistry extends RegistryNamespaced { { addObjectRaw(registry.getId(thing), registry.getNameForObject(thing), thing); } + this.activeSubstitutions.putAll(registry.activeSubstitutions); } // public api