mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 21:19:49 +00:00
Use client tick in render animation
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user