geforkt von Mirrors/Paper
SPIGOT-2785: Wrong effect ID for wither sounds
Dieser Commit ist enthalten in:
Ursprung
a951a88398
Commit
2dd38f2dc4
@ -40,9 +40,9 @@
|
|||||||
+ double deltaLength = Math.sqrt(distanceSquared);
|
+ double deltaLength = Math.sqrt(distanceSquared);
|
||||||
+ double relativeX = player.locX + (deltaX / deltaLength) * viewDistance;
|
+ double relativeX = player.locX + (deltaX / deltaLength) * viewDistance;
|
||||||
+ double relativeZ = player.locZ + (deltaZ / deltaLength) * viewDistance;
|
+ double relativeZ = player.locZ + (deltaZ / deltaLength) * viewDistance;
|
||||||
+ player.playerConnection.sendPacket(new PacketPlayOutWorldEvent(1013, new BlockPosition((int) relativeX, (int) this.locY, (int) relativeZ), 0, true));
|
+ player.playerConnection.sendPacket(new PacketPlayOutWorldEvent(1023, new BlockPosition((int) relativeX, (int) this.locY, (int) relativeZ), 0, true));
|
||||||
+ } else {
|
+ } else {
|
||||||
+ player.playerConnection.sendPacket(new PacketPlayOutWorldEvent(1013, new BlockPosition((int) this.locX, (int) this.locY, (int) this.locZ), 0, true));
|
+ player.playerConnection.sendPacket(new PacketPlayOutWorldEvent(1023, new BlockPosition((int) this.locX, (int) this.locY, (int) this.locZ), 0, true));
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren