From 1040a81334594d6f6585849e5c6abefa6a725255 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Sun, 25 Nov 2012 18:05:17 -0600 Subject: 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(-) (limited to 'src/main/java/net') diff --git a/src/main/java/net/minecraft/server/WorldManager.java b/src/main/java/net/minecraft/server/WorldManager.java index 80145cd9..252da3fc 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) {} -- cgit v1.2.3