Fixed a crash when breaking a mana pool, since the fix for the crash when placing a mana spreader broke that. >_>

This commit is contained in:
Vasco Lavos committed 2014-07-13 03:20:16 +01:00
1 parent 13751ca010
commit 10ce0d9ebd
1 file changed
+1 -1
@@ -75,9 +75,9 @@ public class BlockPool extends BlockModContainer implements IWandHUD, IWandable,
@Override
public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6) {
super.breakBlock(par1World, par2, par3, par4, par5, par6);
TilePool pool = (TilePool) par1World.getTileEntity(par2, par3, par4);
lastFragile = pool.fragile;
super.breakBlock(par1World, par2, par3, par4, par5, par6);
}
@Override