From 8187708e03d067077dcf963af04e7f124daddd82 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sun, 7 Jun 2015 19:22:17 +0100 Subject: [PATCH] Fixed on/off textures when power runs out --- src/main/java/techreborn/api/recipe/RecipeCrafter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/api/recipe/RecipeCrafter.java b/src/main/java/techreborn/api/recipe/RecipeCrafter.java index 73e10e13a..f9ba961c9 100644 --- a/src/main/java/techreborn/api/recipe/RecipeCrafter.java +++ b/src/main/java/techreborn/api/recipe/RecipeCrafter.java @@ -274,7 +274,7 @@ public class RecipeCrafter { private boolean isActiveServer() { - return currentRecipe != null; + return currentRecipe != null && energy.getEnergyStored() >= currentRecipe.euPerTick(); } public boolean isActive() {