Remove initializer from @SideOnly(CLIENT) (again!)
This commit is contained in:
parent
92a057eb96
commit
ba887a4066
1 changed files with 2 additions and 1 deletions
|
@ -49,11 +49,12 @@ import java.util.Random;
|
|||
@Setter private boolean unregisterDisabled = false;
|
||||
|
||||
@SideOnly(Side.CLIENT) public double renderAngle; // This is @SideOnly(Side.CLIENT), don't initialize the field ( = 0), or class initialization won't work on the server!
|
||||
@SideOnly(Side.CLIENT) private int cachedCurveId = -1;
|
||||
@SideOnly(Side.CLIENT) private int cachedCurveId;
|
||||
@SideOnly(Side.CLIENT) private LSystem.PolygonStorage curve; // Cache the curve for efficiency
|
||||
|
||||
public TileEntityFloatingRift() {
|
||||
updateTimer = random.nextInt(UPDATE_PERIOD);
|
||||
if (DimDoors.proxy.isClient()) cachedCurveId = -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue