Attempt to fix rift animation bug.
This commit is contained in:
parent
abdf76d9c4
commit
f6f3f53e6e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue