Updated the Demon Aura hud by allowing it to actually see the Aura in the chunk - refresh rate is 50 ticks.

This commit is contained in:
WayofTime 2016-07-10 15:27:26 -04:00
parent 0ac2b78803
commit 98ed17fe21
9 changed files with 144 additions and 8 deletions

View file

@ -207,7 +207,7 @@ public class ItemSoulGem extends Item implements IDemonWillGem, IMeshProvider, I
double soulsDrained = Math.min(drainAmount, souls);
if (!doDrain)
if (doDrain)
{
setWill(type, soulGemStack, souls - soulsDrained);
}
@ -287,7 +287,7 @@ public class ItemSoulGem extends Item implements IDemonWillGem, IMeshProvider, I
double filled = Math.min(fillAmount, maxWill - current);
if (filled > 0 && doFill)
if (doFill)
{
this.setWill(type, stack, filled + current);
}