Merge pull request #14 from crazyputje/master

onTickInGUI fix. Thanks crazyputje!
This commit is contained in:
Christian 2012-06-04 14:41:59 -07:00
commit bf5835566a

View file

@ -295,18 +295,14 @@ public class FMLClientHandler implements IFMLSidedHandler
public void onRenderTickStart(float partialTickTime)
{
if (client.field_6324_e != null) {
FMLCommonHandler.instance().tickStart(TickType.RENDER, partialTickTime);
FMLCommonHandler.instance().tickStart(TickType.GUI, partialTickTime, client.field_6313_p);
}
}
public void onRenderTickEnd(float partialTickTime)
{
if (client.field_6324_e != null) {
FMLCommonHandler.instance().tickEnd(TickType.RENDER, partialTickTime);
FMLCommonHandler.instance().tickEnd(TickType.GUI, partialTickTime, client.field_6313_p);
}
}
/**
* Get the server instance