Fixed isactive

This commit is contained in:
modmuss50 2015-05-30 08:53:39 +01:00
parent cb541661ad
commit 0f321e2426
2 changed files with 3 additions and 5 deletions

View file

@ -231,6 +231,7 @@ public class RecipeCrafter {
currentTickTime = data.getInteger("currentTickTime");
isactive = data.getBoolean("isActive");
System.out.println(isactive);
}
public void writeToNBT(NBTTagCompound tag) {
@ -244,7 +245,7 @@ public class RecipeCrafter {
}
private boolean isActiveServer() {
return currentRecipe != null && currentTickTime != 0;
return currentRecipe != null;
}
public boolean isActive() {