You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have some form of flight being provided via the attribute that is toggleable.
Upon starting to fly, toggle the attribute off.
This should result in the attribute turning off, on the server and flying and mayFly; however, because the client seems to get mayFly correctly turned off, flying is still followed through to be true. This causes the player to have flight, but also not be able to disengage said flight until they land potentially killing their character.
An example mod (if needed) to use is Mekanism with the gravity module in the chest piece. Spam space and the flight toggle (which is typically G I believe). You should wind up in a state where flying is true and mayFly is false on the server
Description of issue:
This might be a timing issue, but the client is setting the flying to true, AFTER the server has turned everything off.
The text was updated successfully, but these errors were encountered:
Seemingly, adding the following after the existing code in ServerGamePacketListenerImpl in handlePlayerAbilities might be enough, at least from testing I've done.
if (packet.isFlying() != this.player.getAbilities().flying)
player.onUpdateAbilities();
Minecraft Version:
1.21.x
NeoForge Version:
21.1.6
Steps to Reproduce:
flying
andmayFly
; however, because the client seems to getmayFly
correctly turned off,flying
is still followed through to be true. This causes the player to have flight, but also not be able to disengage said flight until they land potentially killing their character.An example mod (if needed) to use is Mekanism with the gravity module in the chest piece. Spam space and the flight toggle (which is typically
G
I believe). You should wind up in a state whereflying
is true andmayFly
is false on the serverDescription of issue:
This might be a timing issue, but the client is setting the
flying
to true, AFTER the server has turned everything off.The text was updated successfully, but these errors were encountered: