Fix autochisel being broken when time is stopped

This commit is contained in:
tterrag1098 committed 2015-01-09 10:58:01 -05:00
1 parent e0afcbf946
commit a9cd1a1131
1 file changed
+1 -1
@@ -94,7 +94,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
ItemStack base = inventory[BASE], target = inventory[TARGET], output = inventory[OUTPUT];
if (!worldObj.isRemote && worldObj.getWorldTime() % checkPeriod == 0 && hasChisel()) {
if (!worldObj.isRemote && worldObj.getTotalWorldTime() % checkPeriod == 0 && hasChisel()) {
if (base != null && target != null) {
if (canBeMadeFrom(base, target)) {
// the max possible for this craft