Fixed Mana Pools not updating their comparator output properly when mana is being taken from them. Closes #1614

This commit is contained in:
Vasco Lavos committed 2015-12-05 18:14:27 +00:00
1 parent a83f93916d
commit b4fe47928c
1 file changed
+2 -4
@@ -108,10 +108,8 @@ public class TilePool extends TileMod implements IManaPool, IDyablePool, IKeyLoc
boolean full = getCurrentMana() >= manaCap;
this.mana = Math.max(0, Math.min(getCurrentMana() + mana, manaCap));
if(full == mana < 0) {
worldObj.func_147453_f(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));
markDispatchable();
}
worldObj.func_147453_f(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));
markDispatchable();
}
@Override