Skip to content

Commit 6776902

Browse files
committed
use total world time
1 parent 745147c commit 6776902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/client/renderer/texture/custom/QuantumStorageRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public static void renderChestStack(double x, double y, double z, MetaTileEntity
127127
if (canRender(x, y, z, 8 *
128128
MathHelper.clamp((double) Minecraft.getMinecraft().gameSettings.renderDistanceChunks / 8, 1.0, 2.5))) {
129129
RenderItem itemRenderer = Minecraft.getMinecraft().getRenderItem();
130-
float tick = world.getWorldTime() + partialTicks;
130+
float tick = world.getTotalWorldTime() + partialTicks;
131131
GlStateManager.pushMatrix();
132132
GlStateManager.translate(x, y, z);
133133
GlStateManager.translate(0.5D, 0.5D, 0.5D);

0 commit comments

Comments
 (0)