Mana Pools should sync better when receiving or sending out mana. Closes #1489

This commit is contained in:
Vasco Lavos committed 2015-11-03 23:06:31 +00:00
1 parent 9c684b3cd8
commit ff7182b6d8
1 file changed
+3 -1
@@ -108,8 +108,10 @@ 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)
if(full == mana < 0) {
worldObj.func_147453_f(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));
markDispatchable();
}
}
@Override