mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-30 21:23:00 +00:00 
			
		
		
		
	Only send the packet to people within 64 blocks
This is equivalent to what vanilla Minecraft does
This commit is contained in:
		| @@ -159,7 +159,8 @@ public abstract class ComputerCraftProxyCommon implements IComputerCraftProxy | ||||
|             packet.m_dataInt = new int[] { pos.getX(), pos.getY(), pos.getZ() }; | ||||
|         } | ||||
|  | ||||
|         ComputerCraft.sendToAllPlayers( packet ); | ||||
|         NetworkRegistry.TargetPoint point = new NetworkRegistry.TargetPoint( world.provider.getDimension(), pos.getX(), pos.getY(), pos.getZ(), 64 ); | ||||
|         ComputerCraft.sendToAllAround( packet, point ); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SquidDev
					SquidDev