Fix nonssmooth turntable animation. Closes #169

This commit is contained in:
Vincent Lee committed 2016-03-09 09:35:45 -06:00
1 parent 3a9f0b346e
commit 84e38b5a32
1 file changed
+2 -4
@@ -35,9 +35,6 @@ public class TileTurntable extends TileMod {
@Override
public void updateEntity() {
if (worldObj.isRemote)
return;
boolean redstone = false;
for(EnumFacing dir : EnumFacing.VALUES) {
@@ -53,7 +50,8 @@ public class TileTurntable extends TileMod {
spreader.rotationX += speed * (backwards ? -1 : 1);
if(spreader.rotationX >= 360F)
spreader.rotationX -= 360F;
spreader.checkForReceiver();
if(!worldObj.isRemote)
spreader.checkForReceiver();
}
}
}