Fixed issues when day/night cycle disabled.

This commit is contained in:
CrazyPants committed 2014-06-10 15:15:27 +08:00
1 parent a924e35d39
commit b4e64657e4
8 files changed
+15 -15

No files matched your search

@@ -371,7 +371,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
if(slotDefinition.getNumOutputSlots() <= 0) {
return false;
}
if(worldObj.getWorldTime() % 20 != 0) {
if(worldObj.getTotalWorldTime() % 20 != 0) {
return false;
}
@@ -402,7 +402,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
if(slotDefinition.getNumInputSlots() <= 0) {
return false;
}
if(worldObj.getWorldTime() % 20 != 0) {
if(worldObj.getTotalWorldTime() % 20 != 0) {
return false;
}