What a dumb oversight. One needs to copy the active substitution set to the active gamedata. Doesn't work well otherwise.

Closes #616
This commit is contained in:
cpw 2015-03-22 12:03:37 -04:00
parent f4972b7611
commit 3df54d3d0f

View file

@ -95,6 +95,8 @@ public class FMLControlledNamespacedRegistry<I> 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<I> extends RegistryNamespaced {
{
addObjectRaw(registry.getId(thing), registry.getNameForObject(thing), thing);
}
this.activeSubstitutions.putAll(registry.activeSubstitutions);
}
// public api