Advertisement
tahg

Untitled

Feb 3rd, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. if (l1 != 0)
  2. {
  3. if (!this.worldObj.isRemote)
  4. {
  5. Block.blocksList[l1].breakBlock(this.worldObj, j2, par2, k2, l1, i2);
  6. }
  7. else if (Block.blocksList[l1] != null && Block.blocksList[l1].hasTileEntity(i2))
  8. {
  9. TileEntity te = worldObj.getBlockTileEntity(j2, par2, k2);
  10. if (te != null && te.shouldRefresh(l1, par4, i2, par5, worldObj, j2, par2, k2))
  11. {
  12. this.worldObj.removeBlockTileEntity(j2, par2, k2);
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement