WayofTime / BloodMagic

The place where all of my mod stuffs is!
Other
296 stars 271 forks source link

Added Error Flag to Hellfire Forge #1993

Open VT-14 opened 8 months ago

VT-14 commented 8 months ago

Added an error flag to the Hellfire Forge that tells players when the recipe isn't working due to not having enough Demon Will on hand.

I also tweaked the TileSoulForge's operation. The || burnTime > 0 check caused a minor bug where a player could start the recipe going, then swap to a gem without enough will and it would look like it would keep going (though fail to craft when finished). It seems to work as I would expect without it.

I then could also remove two redundant if statements checking for the level being not client side, and having enough Will. the client side check was done earlier so was always true, and by removing the burnTime > 0 alternative the minimum souls check is also already done and always true.