The Mana Mirror will properly update the pool now.

This commit is contained in:
Vasco Lavos committed 2014-05-26 16:39:37 +01:00
1 parent d8e1f4ca3b
commit f640a886f9
1 file changed
+4 -1
@@ -143,8 +143,11 @@ public class ItemManaMirror extends ItemMod implements IManaItem {
@Override
public void addMana(ItemStack stack, int mana) {
IManaPool pool = getManaPool(stack);
if(pool != null)
if(pool != null) {
pool.recieveMana(mana);
TileEntity tile = (TileEntity) pool;
tile.getWorldObj().func_147453_f(tile.xCoord, tile.yCoord, tile.zCoord, tile.getWorldObj().getBlock(tile.xCoord, tile.yCoord, tile.zCoord));
}
}
public void bindPool(ItemStack stack, TileEntity pool) {