Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (l1 != 0)
- {
- if (!this.worldObj.isRemote)
- {
- Block.blocksList[l1].breakBlock(this.worldObj, j2, par2, k2, l1, i2);
- }
- else if (Block.blocksList[l1] != null && Block.blocksList[l1].hasTileEntity(i2))
- {
- TileEntity te = worldObj.getBlockTileEntity(j2, par2, k2);
- if (te != null && te.shouldRefresh(l1, par4, i2, par5, worldObj, j2, par2, k2))
- {
- this.worldObj.removeBlockTileEntity(j2, par2, k2);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement