Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
3a95a7bd27
Commit
7851d560ad
@ -342,7 +342,10 @@ public class PacketProcessor {
|
|||||||
private void sound() throws IOException {
|
private void sound() throws IOException {
|
||||||
int x = source.readInt() - arenaMinX + Config.ArenaRegion.getMinX();
|
int x = source.readInt() - arenaMinX + Config.ArenaRegion.getMinX();
|
||||||
int y = source.readInt() - arenaMinY + Config.BluePasteRegion.getMinY();
|
int y = source.readInt() - arenaMinY + Config.BluePasteRegion.getMinY();
|
||||||
int z = source.readInt() - arenaMinZ + Config.ArenaRegion.getMinZ();
|
int rawZ = source.readInt() - arenaMinZ;
|
||||||
|
if(rotateZ)
|
||||||
|
rawZ = Config.ArenaRegion.getSizeZ() - rawZ;
|
||||||
|
int z = rawZ + Config.ArenaRegion.getMinZ();
|
||||||
|
|
||||||
String soundName = source.readUTF();
|
String soundName = source.readUTF();
|
||||||
String soundCategory = source.readUTF();
|
String soundCategory = source.readUTF();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren