summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2012-11-25 18:05:17 -0600
committerfeildmaster <admin@feildmaster.com>2012-11-25 18:05:17 -0600
commit1040a81334594d6f6585849e5c6abefa6a725255 (patch)
tree015d28c9b1832df19166ca290b9873da73fef38d /src/main
parentaa99d679632a9f8ac6560eced7457f6c72c9adc0 (diff)
downloadcraftbukkit-1040a81334594d6f6585849e5c6abefa6a725255.tar
craftbukkit-1040a81334594d6f6585849e5c6abefa6a725255.tar.gz
craftbukkit-1040a81334594d6f6585849e5c6abefa6a725255.tar.lz
craftbukkit-1040a81334594d6f6585849e5c6abefa6a725255.tar.xz
craftbukkit-1040a81334594d6f6585849e5c6abefa6a725255.zip
Fix multi-world sounds not being sent correctly. Fixes BUKKIT-3051
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/WorldManager.java3
1 files changed, 2 insertions, 1 deletions
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) {}