Remove initializer from @SideOnly(CLIENT) (again!)

This commit is contained in:
Runemoro 2018-04-03 23:10:40 -04:00
parent 92a057eb96
commit ba887a4066

View file

@ -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