Fix GameData#revert ignoring RegistryManager parameter (#4232)
This commit is contained in:
parent
aa2480c7a1
commit
274dfc23ef
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ public class GameData
|
||||||
{
|
{
|
||||||
FMLLog.log.debug("Reverting {} to {}", registry, state.getName());
|
FMLLog.log.debug("Reverting {} to {}", registry, state.getName());
|
||||||
final Class<? extends IForgeRegistryEntry> clazz = RegistryManager.ACTIVE.getSuperType(registry);
|
final Class<? extends IForgeRegistryEntry> clazz = RegistryManager.ACTIVE.getSuperType(registry);
|
||||||
loadRegistry(registry, RegistryManager.FROZEN, RegistryManager.ACTIVE, clazz, lock);
|
loadRegistry(registry, state, RegistryManager.ACTIVE, clazz, lock);
|
||||||
FMLLog.log.debug("Reverting complete");
|
FMLLog.log.debug("Reverting complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue