This commit is contained in:
parent
268de10661
commit
d84eec20cb
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public final class PoweredCraftingHandler implements ItemCraftCallback {
|
|||
})
|
||||
.sum();
|
||||
|
||||
energyItem.setStoredEnergy(stack, totalEnergy);
|
||||
energyItem.setStoredEnergy(stack, Math.min(totalEnergy, energyItem.getEnergyCapacity()));
|
||||
}
|
||||
|
||||
if (!Registry.ITEM.getId(stack.getItem()).getNamespace().equalsIgnoreCase(TechReborn.MOD_ID)) {
|
||||
|
|
Loading…
Reference in a new issue