Move first tick to the real first tick

This commit is contained in:
Christian Weeks 2012-05-26 02:30:21 -04:00
parent 7c590e62c6
commit 7d7c395ff3

View file

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