mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
fix recipe
This commit is contained in:
@@ -60,7 +60,7 @@ public class HeliodorFinishRecipe extends InputRecipe {
|
||||
continue;
|
||||
}
|
||||
Integer charge = HeliodorGem.getCharge(inventoryStack);
|
||||
if (charge == 100) {
|
||||
if (charge != null && charge == 100) {
|
||||
int removeAmount = Math.min(amountToRemove, inventoryStack.getAmount());
|
||||
if (removeAmount != 0) {
|
||||
ItemStack cloneStack = inventoryStack.clone();
|
||||
|
||||
Reference in New Issue
Block a user