Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy Players cannot use Elytra on 1.20.4 server #79

Open
4 tasks done
swiftdidit opened this issue Feb 7, 2024 · 9 comments
Open
4 tasks done

Legacy Players cannot use Elytra on 1.20.4 server #79

swiftdidit opened this issue Feb 7, 2024 · 9 comments

Comments

@swiftdidit
Copy link

/viaversion dump Output

https://dump.viaversion.com/f90d1005a52378c43c513642834435e3db7672dccc25a26308e260d7b4e587ac

Console Error

Put the paste.gg link or text here.

Bug Description

Wearing a '1.9 Elytra' seems to have no effect when jumping to glide off of things, or even if you are spamming Firework Rocket's it won't propel you at all. Elytra's just don't work.

Steps to Reproduce

Before you attempt please make sure you are testing with 1.20.4 paper spigot
I am running [ViaVersion, ViaBackwards, ViaRewind, and ViaRewind-Legacy-Support)

  1. Login with 1.7.10 client for example or 1.8
  2. Get yourself an Elytra and wear it
  3. Try to fly and jump off a mountain

Expected Behavior

The Elytra should work the same as it does in 1.9+ for legacy users.

Additional Server Info

Velocity is my proxy.
I do not run my 'Via' plugins on the Proxy.

Checklist

  • Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. BungeeCord), not on both.
  • I have included a ViaVersion dump.
  • If applicable, I have included a paste (not a screenshot) of the error.
  • I have tried the latest build(s) from https://ci.viaversion.com/ and the issue still persists.
@Barvalg
Copy link
Member

Barvalg commented Feb 7, 2024

Platform: git--Paper--409%20%28MC%3A%201.20.4%29
ViaVersion (4.9.3-SNAPSHOT): Even with master
ViaBackwards(4.9.2-SNAPSHOT): Even with master
ViaRewind(3.0.6-SNAPSHOT): Even with master

@swiftdidit
Copy link
Author

I also come to find out that 'Soul Speed' enchantment does not work!
And every splash potion thrown is not the same color/potion that was originally thrown.

For example if I throw a slowness potion it will look like im throwing a red Instant Health potion
This happens for literally every splash potion.

@FormallyMyles FormallyMyles transferred this issue from ViaVersion/ViaVersion Feb 7, 2024
@Barvalg
Copy link
Member

Barvalg commented Feb 7, 2024

Platform: git--Paper--409%20%28MC%3A%201.20.4%29
ViaVersion (4.9.3-SNAPSHOT): Even with master
ViaBackwards(4.9.2-SNAPSHOT): Even with master
ViaRewind(3.0.6-SNAPSHOT): Even with master

@FlorianMichael FlorianMichael transferred this issue from ViaVersion/ViaRewind Apr 29, 2024
@HoosierTransfer
Copy link

1.8 and below players also are not able to use Elytra on 1.17.2 server.

@FlorianMichael
Copy link
Member

do you know if Elytra's ever worked with this plugin? I am starting to question that.

@HoosierTransfer
Copy link

I found out that Via.getAPI().getPlayerProtocolVersion(player).newerThanOrEqualTo(ProtocolVersion.v1_9) returns true even when im on 1.8. But when I removed the check in isGliding and in the onPlayerMove. I just got a nullPointerException because getFlag is null. I tried reverting to before you committed the elytra fix but it still didn't work.

@HoosierTransfer
Copy link

This is most likely not possible without modifying the client. Since the client sends a entityaction packet with the START_FALL_FLYING action to signal elytra flight has started. It could be possible to track this outselves by checking when the player jumps midair. or having a different action start elytra flight like right click.

@36479756
Copy link

i think server correcton can laggly work?

@swiftdidit
Copy link
Author

It should be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants