mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-24 17:14:50 +00:00
Update to MC 1.16.4
Just some mapping changes really
This commit is contained in:
@@ -78,7 +78,7 @@ public final class NetworkHandler
|
||||
|
||||
public static void sendToAllAround( NetworkMessage packet, World world, Vector3d pos, double range )
|
||||
{
|
||||
PacketDistributor.TargetPoint target = new PacketDistributor.TargetPoint( pos.x, pos.y, pos.z, range, world.func_234923_W_() );
|
||||
PacketDistributor.TargetPoint target = new PacketDistributor.TargetPoint( pos.x, pos.y, pos.z, range, world.getDimensionKey() );
|
||||
network.send( PacketDistributor.NEAR.with( () -> target ), packet );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user