From 1040a81334594d6f6585849e5c6abefa6a725255 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Sun, 25 Nov 2012 18:05:17 -0600 Subject: [PATCH] Fix multi-world sounds not being sent correctly. Fixes BUKKIT-3051 --- src/main/java/net/minecraft/server/WorldManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/WorldManager.java b/src/main/java/net/minecraft/server/WorldManager.java index 80145cd956..252da3fc54 100644 --- a/src/main/java/net/minecraft/server/WorldManager.java +++ b/src/main/java/net/minecraft/server/WorldManager.java @@ -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) {}