Fix GameData#revert ignoring RegistryManager parameter (#4232)

This commit is contained in:
rguy96 2017-10-31 14:29:35 -04:00 committed by LexManos
parent aa2480c7a1
commit 274dfc23ef

View file

@ -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");
} }