mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Move first tick to the real first tick
This commit is contained in:
1 parent
7c590e62c6
commit
7d7c395ff3
1 file changed
+5
-5
@@ -248,6 +248,11 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
public void onWorldLoadTick()
|
||||
{
|
||||
if (client.field_6324_e != null) {
|
||||
if (firstTick)
|
||||
{
|
||||
loadTextures(fallbackTexturePack);
|
||||
firstTick = false;
|
||||
}
|
||||
FMLCommonHandler.instance().tickStart(TickType.WORLDLOADTICK);
|
||||
FMLCommonHandler.instance().tickStart(TickType.GUILOADTICK);
|
||||
}
|
||||
@@ -256,11 +261,6 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
public void onRenderTickStart(float partialTickTime)
|
||||
{
|
||||
if (client.field_6324_e != null) {
|
||||
if (firstTick)
|
||||
{
|
||||
loadTextures(fallbackTexturePack);
|
||||
firstTick = false;
|
||||
}
|
||||
FMLCommonHandler.instance().tickStart(TickType.RENDER, partialTickTime);
|
||||
FMLCommonHandler.instance().tickStart(TickType.GUI, partialTickTime, client.field_6313_p);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user