mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Mana Pools should sync better when receiving or sending out mana. Closes #1489
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user