mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
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:
1 parent
5f06c95cfa
commit
d7dda9e960
2 files changed
+31
-1
No files matched your search
+2
@@ -195,6 +195,8 @@ public class FMLControlledNamespacedRegistry<I extends IForgeRegistryEntry<I>> e
|
||||
{
|
||||
activateSubstitution(resloc);
|
||||
}
|
||||
this.substitutionOriginals.clear();
|
||||
this.substitutionOriginals.putAll(otherRegistry.substitutionOriginals);
|
||||
}
|
||||
|
||||
// public api
|
||||
|
||||
Reference in new issue
Block a user