Use client tick in render animation

This commit is contained in:
HenryLoenwind committed 2015-04-30 01:00:41 +02:00
1 parent 7ee5673b0f
commit 767fe8de91
1 file changed
+1 -1
@@ -104,7 +104,7 @@ public class ObeliskSpecialRenderer<T extends TileEntity> extends TileEntitySpec
}
ei.setEntityItemStack(getFloatingItem(te));
ei.hoverStart = (float) ((world.getTotalWorldTime() * 0.05f + (tick * 0.05f)) % (Math.PI * 2));
ei.hoverStart = (float) ((EnderIO.proxy.getTickCount() * 0.05f + (tick * 0.05f)) % (Math.PI * 2));
ei.age = 0;
glPushMatrix();