Attempt to fix rift animation bug.

This commit is contained in:
Waterpicker 2017-12-29 12:20:21 -06:00
parent abdf76d9c4
commit f6f3f53e6e

View file

@ -141,7 +141,7 @@ public class TileEntityFloatingRiftRenderer extends TileEntitySpecialRenderer<Ti
new Vector4f(0.5f,0.5f,-0.5f,0.5f)
};
private static double angle = 0;
private double angle = 0;
/**
* Renders the rift.
@ -177,7 +177,7 @@ public class TileEntityFloatingRiftRenderer extends TileEntitySpecialRenderer<Ti
}
private double update(float partialTicks) {
angle = (angle + 3 * partialTicks) % 360;
angle = (angle + 1 * partialTicks) % 360;
return angle;
}