mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Fix nonssmooth turntable animation. Closes #169
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user