From 6790d39c7eff0ede5e88f4c9b4aaa2b7b9063081 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Mon, 25 Jul 2016 17:50:50 -0400 Subject: [PATCH] Added a funky workaround that will insert checks for the required Will of the gem inside of the Hellfire Forge while still allowing the progress bar to fill --- changelog.txt | 1 + src/main/java/WayofTime/bloodmagic/tile/TileSoulForge.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9e67a7de..83dfa3c6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version 2.0.3-54 ------------------------------------------------------ - Eliminated some of the "wonkiness" from the Air Sigil +- Fixed the Hellfire Forge so that swapping Tartaric gems will not give free stuff. ------------------------------------------------------ Version 2.0.3-53 diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileSoulForge.java b/src/main/java/WayofTime/bloodmagic/tile/TileSoulForge.java index cc039400..d77ce562 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileSoulForge.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileSoulForge.java @@ -105,13 +105,13 @@ public class TileSoulForge extends TileInventory implements ITickable, IDemonWil double requiredSouls = recipe.getSoulsDrained(); if (requiredSouls > 0) { - if (!worldObj.isRemote) + if (!worldObj.isRemote && soulsInGem >= recipe.getMinimumSouls()) { consumeSouls(requiredSouls); } } - if (!worldObj.isRemote) + if (!worldObj.isRemote && soulsInGem >= recipe.getMinimumSouls()) craftItem(recipe); }