mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Remove the call to client.refreshResources during loading (#4032)
This commit is contained in:
1 parent
0f7ec7e7fd
commit
7892ca922c
4 files changed
+27
-59
No files matched your search
@@ -361,8 +361,14 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
return;
|
||||
}
|
||||
|
||||
// Reload resources
|
||||
client.refreshResources();
|
||||
// This call is being phased out for performance reasons in 1.12,
|
||||
// but we are keeping an option here in case something needs it for a little longer.
|
||||
// See https://github.com/MinecraftForge/MinecraftForge/pull/4032
|
||||
if (Boolean.parseBoolean(System.getProperty("fml.reloadResourcesOnStart", "false")))
|
||||
{
|
||||
client.refreshResources();
|
||||
}
|
||||
|
||||
RenderingRegistry.loadEntityRenderers(Minecraft.getMinecraft().getRenderManager().entityRenderMap);
|
||||
guiFactories = HashBiMap.create();
|
||||
for (ModContainer mc : Loader.instance().getActiveModList())
|
||||
|
||||
Reference in new issue
Block a user