1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-23 16:59:33 +00:00

Merge pull request #228 from endevrr/inventory

Fix issue with players being able to update their own gamemode
This commit is contained in:
Redned
2020-03-26 22:59:04 -05:00
committed by GitHub

View File

@@ -395,7 +395,7 @@ public class GeyserSession implements CommandSender {
startGamePacket.setBonusChestEnabled(false); startGamePacket.setBonusChestEnabled(false);
startGamePacket.setStartingWithMap(false); startGamePacket.setStartingWithMap(false);
startGamePacket.setTrustingPlayers(true); startGamePacket.setTrustingPlayers(true);
startGamePacket.setDefaultPlayerPermission(PlayerPermission.OPERATOR); startGamePacket.setDefaultPlayerPermission(PlayerPermission.MEMBER);
startGamePacket.setServerChunkTickRange(4); startGamePacket.setServerChunkTickRange(4);
startGamePacket.setBehaviorPackLocked(false); startGamePacket.setBehaviorPackLocked(false);
startGamePacket.setResourcePackLocked(false); startGamePacket.setResourcePackLocked(false);