Fix pump trying to animate serverside. Closes #181

This commit is contained in:
Vincent Lee committed 2016-03-13 12:30:12 -05:00
1 parent 8e550e36d2
commit 4b056375d4
1 file changed
+2 -1
@@ -84,8 +84,9 @@ public class TilePump extends TileMod implements IAnimationProvider {
moving = 0F;
}
}
move.setValue(innerRingPos / 8 * 0.5F); // rescale to 0 - 0.5 for json animation
if(worldObj.isRemote)
move.setValue(innerRingPos / 8 * 0.5F); // rescale to 0 - 0.5 for json animation
if(!hasCartOnTop)
comparator = 0;