mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Increased the range for sending tile updates because occasionally people that had them in range didn't get updates meaning if they went closer, changes weren't present
This commit is contained in:
parent
1e82741766
commit
8aa04b7652
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ public abstract class TileEntityBase extends TileEntity implements ITickable{
|
||||||
data.setInteger("X", this.pos.getX());
|
data.setInteger("X", this.pos.getX());
|
||||||
data.setInteger("Y", this.pos.getY());
|
data.setInteger("Y", this.pos.getY());
|
||||||
data.setInteger("Z", this.pos.getZ());
|
data.setInteger("Z", this.pos.getZ());
|
||||||
PacketHandler.theNetwork.sendToAllAround(new PacketServerToClient(data, PacketHandler.TILE_ENTITY_HANDLER), new NetworkRegistry.TargetPoint(this.worldObj.provider.getDimension(), this.getPos().getX(), this.getPos().getY(), this.getPos().getZ(), 64));
|
PacketHandler.theNetwork.sendToAllAround(new PacketServerToClient(data, PacketHandler.TILE_ENTITY_HANDLER), new NetworkRegistry.TargetPoint(this.worldObj.provider.getDimension(), this.getPos().getX(), this.getPos().getY(), this.getPos().getZ(), 128));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue