Fixed on/off textures when power runs out
This commit is contained in:
parent
439a877ace
commit
8187708e03
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ public class RecipeCrafter {
|
||||||
|
|
||||||
|
|
||||||
private boolean isActiveServer() {
|
private boolean isActiveServer() {
|
||||||
return currentRecipe != null;
|
return currentRecipe != null && energy.getEnergyStored() >= currentRecipe.euPerTick();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isActive() {
|
public boolean isActive() {
|
||||||
|
|
Loading…
Reference in a new issue