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

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