1
0
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:
SquidDev
2020-11-03 15:33:10 +00:00
parent 5bf367af9f
commit ab232bd689
20 changed files with 27 additions and 33 deletions

View File

@@ -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 );
}