From 6741c7800bc2c765550e1e486d89c356ef908ccf Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sun, 21 Sep 2014 00:35:08 +0200 Subject: [PATCH] Typo ticksPerRoation --- tile/grindstone/TileCrank.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tile/grindstone/TileCrank.java b/tile/grindstone/TileCrank.java index 58d81a1bc..d7b383166 100644 --- a/tile/grindstone/TileCrank.java +++ b/tile/grindstone/TileCrank.java @@ -20,7 +20,7 @@ import appeng.util.Platform; public class TileCrank extends AEBaseTile implements ICustomCollision { - final int ticksPerRoation = 18; + final int ticksPerRotation = 18; // sided values.. public float visibleRotation = 0; @@ -34,11 +34,11 @@ public class TileCrank extends AEBaseTile implements ICustomCollision { if ( rotation > 0 ) { - visibleRotation -= 360 / (ticksPerRoation); + visibleRotation -= 360 / (ticksPerRotation); charge++; - if ( charge >= ticksPerRoation ) + if ( charge >= ticksPerRotation ) { - charge -= ticksPerRoation; + charge -= ticksPerRotation; ICrankable g = getGrinder(); if ( g != null ) g.applyTurn(); @@ -96,7 +96,7 @@ public class TileCrank extends AEBaseTile implements ICustomCollision if ( g.canTurn() ) { hits = 0; - rotation += ticksPerRoation; + rotation += ticksPerRotation; this.markForUpdate(); return true; }