Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Fix armorstands moving incorrectly when using relative movement packets
Dieser Commit ist enthalten in:
Ursprung
4e1625b017
Commit
b225afe6ef
@ -252,9 +252,6 @@ public class OutgoingTransformer {
|
|||||||
int x = input.readByte();
|
int x = input.readByte();
|
||||||
output.writeShort(x * 128);
|
output.writeShort(x * 128);
|
||||||
int y = input.readByte();
|
int y = input.readByte();
|
||||||
if (plugin.isHologramPatch() & knownHolograms.contains(id)) {
|
|
||||||
y = (int) ((y) + plugin.getHologramYOffset());
|
|
||||||
}
|
|
||||||
output.writeShort(y * 128);
|
output.writeShort(y * 128);
|
||||||
int z = input.readByte();
|
int z = input.readByte();
|
||||||
output.writeShort(z * 128);
|
output.writeShort(z * 128);
|
||||||
@ -275,9 +272,6 @@ public class OutgoingTransformer {
|
|||||||
short x = (short) (input.readByte());
|
short x = (short) (input.readByte());
|
||||||
output.writeShort(x * 128);
|
output.writeShort(x * 128);
|
||||||
short y = (short) (input.readByte());
|
short y = (short) (input.readByte());
|
||||||
if (plugin.isHologramPatch() & knownHolograms.contains(id)) {
|
|
||||||
y = (short) (y - 1);
|
|
||||||
}
|
|
||||||
output.writeShort(y * 128);
|
output.writeShort(y * 128);
|
||||||
short z = (short) (input.readByte());
|
short z = (short) (input.readByte());
|
||||||
output.writeShort(z * 128);
|
output.writeShort(z * 128);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren