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

This commit is contained in:
WayofTime 2016-07-25 17:50:50 -04:00
parent 2af621cced
commit 6790d39c7e
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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);
}