mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
The Mana Mirror will properly update the pool now.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user