Fix incorrect logic in world change clumping.
This commit is contained in:
parent
cd4e73edfa
commit
7419c2aa91
1 changed files with 2 additions and 3 deletions
|
@ -197,7 +197,7 @@
|
|||
int l;
|
||||
|
||||
- if (this.field_73262_e == 64)
|
||||
+ if (this.field_73262_e == net.minecraftforge.common.ForgeModContainer.clumpingThreshold)
|
||||
+ if (this.field_73262_e >= net.minecraftforge.common.ForgeModContainer.clumpingThreshold)
|
||||
{
|
||||
i = this.field_73264_c.field_77276_a * 16;
|
||||
j = this.field_73264_c.field_77275_b * 16;
|
||||
|
@ -213,9 +213,8 @@
|
|||
else
|
||||
{
|
||||
this.func_151251_a(new S22PacketMultiBlockChange(this.field_73262_e, this.field_151254_d, PlayerManager.this.field_72701_a.func_72964_e(this.field_73264_c.field_77276_a, this.field_73264_c.field_77275_b)));
|
||||
-
|
||||
+ }
|
||||
+
|
||||
|
||||
+ { //Forge: Send only the tile entities that are updated, Adding this brace lets us keep the indent and the patch small
|
||||
+ WorldServer world = PlayerManager.this.field_72701_a;
|
||||
for (i = 0; i < this.field_73262_e; ++i)
|
||||
|
|
Loading…
Reference in a new issue