Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (i = 0; i < this.dirtyCount; ++i) {
- // CraftBukkit start - Fixes TileEntity updates occurring upon a multi-block change; dirtyCount -> dirtyBlocks[i]
- j = this.chunkX * 16 + (this.dirtyBlocks[i] >> 12 & 15);
- k = this.dirtyBlocks[i] & 255;
- l = this.chunkZ * 16 + (this.dirtyBlocks[i] >> 8 & 15);
- // CraftBukkit end
- if (Block.isTileEntity[worldserver.getTypeId(j, k, l)]) {
- // System.out.println("Sending!"); // CraftBukkit
- this.sendTileEntity(worldserver.getTileEntity(j, k, l));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement