Fix tartaric gem returning null (#1068)
This commit is contained in:
parent
b1670cdbd5
commit
fd54ab0458
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ public class ItemSoulGem extends Item implements IDemonWillGem, IMeshProvider, I
|
||||||
setWill(thisType, soulGemStack, newSoulsLeft);
|
setWill(thisType, soulGemStack, newSoulsLeft);
|
||||||
if (soul.getWill(thisType, soulStack) <= 0)
|
if (soul.getWill(thisType, soulStack) <= 0)
|
||||||
{
|
{
|
||||||
return null;
|
return ItemStack.EMPTY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue