mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-12 16:27:37 +00:00
Set getWorldElapsedTicks to use ClientTickHandler.ticksInGame in the ClientProxy. Closes #385.
This commit is contained in:
1 parent
8899a73ff2
commit
9b0bc2976c
1 file changed
+1
-1
@@ -238,7 +238,7 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
@Override
|
||||
public long getWorldElapsedTicks() {
|
||||
return Minecraft.getMinecraft().theWorld == null ? 0 : Minecraft.getMinecraft().theWorld.getTotalWorldTime();
|
||||
return ClientTickHandler.ticksInGame;
|
||||
}
|
||||
|
||||
private static boolean noclipEnabled = false;
|
||||
|
||||
Reference in new issue
Block a user