Fix substitutions being broken after freezing - actually store the original state in registry copies, not the computed state, which is wrong because it only sees the sub, not the original.

This commit is contained in:
cpw committed 2016-10-10 15:04:45 -04:00
1 parent 5f06c95cfa
commit d7dda9e960
2 files changed
+31 -1

No files matched your search

@@ -195,6 +195,8 @@ public class FMLControlledNamespacedRegistry<I extends IForgeRegistryEntry<I>> e
{
activateSubstitution(resloc);
}
this.substitutionOriginals.clear();
this.substitutionOriginals.putAll(otherRegistry.substitutionOriginals);
}
// public api