Fixed on/off textures when power runs out

This commit is contained in:
modmuss50 2015-06-07 19:22:17 +01:00
parent 439a877ace
commit 8187708e03

View file

@ -274,7 +274,7 @@ public class RecipeCrafter {
private boolean isActiveServer() {
return currentRecipe != null;
return currentRecipe != null && energy.getEnergyStored() >= currentRecipe.euPerTick();
}
public boolean isActive() {