Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Fix multi-world sounds not being sent correctly. Fixes BUKKIT-3051
Dieser Commit ist enthalten in:
Ursprung
aa99d67963
Commit
1040a81334
@ -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) {
|
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) {}
|
public void a(int i, int j, int k, int l, int i1, int j1) {}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren