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:
parent
0ac2b78803
commit
98ed17fe21
9 changed files with 144 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue