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:
parent
74718f5042
commit
fabf63b856
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue