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:
parent
f4972b7611
commit
3df54d3d0f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue