forked from GeyserMC/Geyser
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
|
||||
|
||||
AdventureSettingsPacket adventureSettingsPacket = new AdventureSettingsPacket();
|
||||
adventureSettingsPacket.setPlayerPermission(1);
|
||||
adventureSettingsPacket.setUniqueEntityId(entity.getGeyserId());
|
||||
adventureSettingsPacket.setPlayerFlags(playerFlags);
|
||||
session.getUpstream().sendPacket(adventureSettingsPacket);
|
||||
|
|
Loading…
Reference in a new issue