mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Move first tick to the real first tick
This commit is contained in:
1 parent
da791ef721
commit
539252053f
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