mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix permissions
This commit is contained in:
parent
9875d204e3
commit
0e7fff0b9b
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ public class JavaPlayerAbilitiesTranslator extends PacketTranslator<ServerPlayer
|
||||||
playerFlags = setPlayerFlag(0x200, packet.isFlying(), playerFlags); // is flying
|
playerFlags = setPlayerFlag(0x200, packet.isFlying(), playerFlags); // is flying
|
||||||
|
|
||||||
AdventureSettingsPacket adventureSettingsPacket = new AdventureSettingsPacket();
|
AdventureSettingsPacket adventureSettingsPacket = new AdventureSettingsPacket();
|
||||||
|
adventureSettingsPacket.setPlayerPermission(1);
|
||||||
adventureSettingsPacket.setUniqueEntityId(entity.getGeyserId());
|
adventureSettingsPacket.setUniqueEntityId(entity.getGeyserId());
|
||||||
adventureSettingsPacket.setPlayerFlags(playerFlags);
|
adventureSettingsPacket.setPlayerFlags(playerFlags);
|
||||||
session.getUpstream().sendPacket(adventureSettingsPacket);
|
session.getUpstream().sendPacket(adventureSettingsPacket);
|
||||||
|
|
Loading…
Reference in a new issue