From 714cd8d8df840523f46570a645fc146d9290dfd5 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 28 Jun 2012 14:24:34 -0400 Subject: [PATCH] Change TickType.WORLD to send the world as arg[0] to match the server. --- client/cpw/mods/fml/client/FMLClientHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/cpw/mods/fml/client/FMLClientHandler.java b/client/cpw/mods/fml/client/FMLClientHandler.java index 8468e10a59..73d9f3dd29 100644 --- a/client/cpw/mods/fml/client/FMLClientHandler.java +++ b/client/cpw/mods/fml/client/FMLClientHandler.java @@ -240,7 +240,8 @@ public class FMLClientHandler implements IFMLSidedHandler { if (client.field_6324_e != null) { // For the client world ticks and game ticks are the same - FMLCommonHandler.instance().tickStart(EnumSet.of(TickType.WORLD,TickType.GAME,TickType.WORLDGUI), 0.0f, client.field_6313_p, client.field_6324_e); + FMLCommonHandler.instance().tickStart(EnumSet.of(TickType.WORLD), client.field_6324_e, client.field_6313_p, client.field_6324_e); + FMLCommonHandler.instance().tickStart(EnumSet.of(TickType.GAME,TickType.WORLDGUI), 0.0f, client.field_6313_p, client.field_6324_e); } } @@ -251,7 +252,8 @@ public class FMLClientHandler implements IFMLSidedHandler { if (client.field_6324_e != null) { // For the client world ticks and game ticks are the same - FMLCommonHandler.instance().tickEnd(EnumSet.of(TickType.WORLD,TickType.GAME,TickType.WORLDGUI), 0.0f, client.field_6313_p, client.field_6324_e); + FMLCommonHandler.instance().tickEnd(EnumSet.of(TickType.WORLD), client.field_6324_e, client.field_6313_p, client.field_6324_e); + FMLCommonHandler.instance().tickEnd(EnumSet.of(TickType.GAME,TickType.WORLDGUI), 0.0f, client.field_6313_p, client.field_6324_e); } for (IKeyHandler entry : keyHandlers) {