Initial push of the Inversion Pillars - this is before full implementation of features and before fixing the item model.

This commit is contained in:
WayofTime 2016-09-11 10:02:06 -04:00
parent 540e6941ef
commit 5c627d123c
10 changed files with 306 additions and 26 deletions

View file

@ -129,9 +129,9 @@ public class WorldDemonWillHandler
DemonWillHolder currentWill = willChunk.getCurrentWill();
double fill = Math.min(amount, max - currentWill.getWill(type));
if (!doFill)
if (!doFill || fill <= 0)
{
return fill;
return fill > 0 ? fill : 0;
}
fill = currentWill.addWill(type, amount, max);