mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
Fixed Mana Pools not updating their comparator output properly when mana is being taken from them. Closes #1614
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user