Merge pull request #1627 from CovertJaguar/tile-refresh
Bulk Chunk Data packets should also check TileEntity.shouldRefresh().
This commit is contained in:
commit
7d82925017
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@
|
|||
+ int y = tileentity.field_145848_d;
|
||||
+ int z = tileentity.field_145849_e & 15;
|
||||
+ Block block = tileentity.func_145838_q();
|
||||
+ if (block != func_150810_a(x, y, z) || tileentity.field_145847_g != this.func_76628_c(x, y, z))
|
||||
+ if (tileentity.shouldRefresh(block, func_150810_a(x, y, z), tileentity.field_145847_g, this.func_76628_c(x, y, z), field_76637_e, x, y, z))
|
||||
+ {
|
||||
+ invalidList.add(tileentity);
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue