Fixed Soul Gem leaving monster souls with 0 charge left in them.

Added a few recipes to the Soul Forge.
This commit is contained in:
WayofTime 2016-01-08 15:31:55 -05:00
parent 74718f5042
commit fabf63b856
2 changed files with 5 additions and 3 deletions

View file

@ -435,7 +435,7 @@ public class EventHandler
ItemStack remainder = PlayerSoulHandler.addSouls(player, stack);
if (remainder == null)
if (remainder == null || ((ISoul) stack.getItem()).getSouls(stack) < 0.0001)
{
stack.stackSize = 0;
event.setResult(Result.ALLOW);