mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
Fix multi-world sounds not being sent correctly. Fixes BUKKIT-3051
This commit is contained in:
parent
aa99d67963
commit
1040a81334
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ public class WorldManager implements IWorldAccess {
|
|||
}
|
||||
|
||||
public void a(EntityHuman entityhuman, String s, double d0, double d1, double d2, float f, float f1) {
|
||||
this.server.getServerConfigurationManager().sendPacketNearby(entityhuman, d0, d1, d2, f > 1.0F ? (double) (16.0F * f) : 16.0D, this.world.worldProvider.dimension, new Packet62NamedSoundEffect(s, d0, d1, d2, f, f1));
|
||||
// CraftBukkit - this.world.dimension
|
||||
this.server.getServerConfigurationManager().sendPacketNearby(entityhuman, d0, d1, d2, f > 1.0F ? (double) (16.0F * f) : 16.0D, this.world.dimension, new Packet62NamedSoundEffect(s, d0, d1, d2, f, f1));
|
||||
}
|
||||
|
||||
public void a(int i, int j, int k, int l, int i1, int j1) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue