mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-29 03:48:46 +01:00
Merge pull request #258 from HugoDaBosss/master
Fix armorstands moving incorrectly when using relative movement packets
This commit is contained in:
commit
80f63d79ef
@ -252,9 +252,6 @@ public class OutgoingTransformer {
|
||||
int x = input.readByte();
|
||||
output.writeShort(x * 128);
|
||||
int y = input.readByte();
|
||||
if (plugin.isHologramPatch() & knownHolograms.contains(id)) {
|
||||
y = (int) ((y) + plugin.getHologramYOffset());
|
||||
}
|
||||
output.writeShort(y * 128);
|
||||
int z = input.readByte();
|
||||
output.writeShort(z * 128);
|
||||
@ -275,9 +272,6 @@ public class OutgoingTransformer {
|
||||
short x = (short) (input.readByte());
|
||||
output.writeShort(x * 128);
|
||||
short y = (short) (input.readByte());
|
||||
if (plugin.isHologramPatch() & knownHolograms.contains(id)) {
|
||||
y = (short) (y - 1);
|
||||
}
|
||||
output.writeShort(y * 128);
|
||||
short z = (short) (input.readByte());
|
||||
output.writeShort(z * 128);
|
||||
|
Loading…
Reference in New Issue
Block a user