@@ -1,16 +1,16 @@
|
||||
--- a/net/minecraft/server/WorldManager.java
|
||||
+++ b/net/minecraft/server/WorldManager.java
|
||||
@@ -32,7 +32,8 @@
|
||||
@@ -33,7 +33,8 @@
|
||||
}
|
||||
|
||||
public void a(EntityHuman entityhuman, SoundEffect soundeffect, SoundCategory soundcategory, double d0, double d1, double d2, float f, float f1) {
|
||||
public void a(@Nullable EntityHuman entityhuman, SoundEffect soundeffect, SoundCategory soundcategory, double d0, double d1, double d2, float f, float f1) {
|
||||
- this.a.getPlayerList().sendPacketNearby(entityhuman, d0, d1, d2, f > 1.0F ? (double) (16.0F * f) : 16.0D, this.world.worldProvider.getDimensionManager().getDimensionID(), new PacketPlayOutNamedSoundEffect(soundeffect, soundcategory, d0, d1, d2, f, f1));
|
||||
+ // CraftBukkit - this.world.dimension
|
||||
+ this.a.getPlayerList().sendPacketNearby(entityhuman, d0, d1, d2, f > 1.0F ? (double) (16.0F * f) : 16.0D, this.world.dimension, new PacketPlayOutNamedSoundEffect(soundeffect, soundcategory, d0, d1, d2, f, f1));
|
||||
}
|
||||
|
||||
public void a(int i, int j, int k, int l, int i1, int j1) {}
|
||||
@@ -46,7 +47,8 @@
|
||||
@@ -47,7 +48,8 @@
|
||||
public void a(SoundEffect soundeffect, BlockPosition blockposition) {}
|
||||
|
||||
public void a(EntityHuman entityhuman, int i, BlockPosition blockposition, int j) {
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
public void a(int i, BlockPosition blockposition, int j) {
|
||||
@@ -56,6 +58,12 @@
|
||||
@@ -57,6 +59,12 @@
|
||||
public void b(int i, BlockPosition blockposition, int j) {
|
||||
Iterator iterator = this.a.getPlayerList().v().iterator();
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
while (iterator.hasNext()) {
|
||||
EntityPlayer entityplayer = (EntityPlayer) iterator.next();
|
||||
|
||||
@@ -64,6 +72,12 @@
|
||||
@@ -65,6 +73,12 @@
|
||||
double d1 = (double) blockposition.getY() - entityplayer.locY;
|
||||
double d2 = (double) blockposition.getZ() - entityplayer.locZ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user