add: allow carpet.command.player.gamemode to be used

This commit is contained in:
iceBear67 committed 2024-09-26 10:16:17 +08:00
1 parent 2ed28d7508
commit 5df4dbb218
1 file changed
+2 -2
@@ -45,7 +45,8 @@ public class CreativeRoomModule extends ServerModule {
"carpet.command.player", "carpet.command.player",
"carpet.command.track", "carpet.command.track",
"minecraft.command.setblock", "minecraft.command.setblock",
"minecraft.command.summon"); "minecraft.command.summon",
"carpet.command.player.gamemode");
@Inject @Inject
private RoomRegistry roomRegistry; private RoomRegistry roomRegistry;
@Inject @Inject
@@ -131,7 +132,6 @@ public class CreativeRoomModule extends ServerModule {
} }
public void onPlayerQuit(ServerPlayerEntity player) { public void onPlayerQuit(ServerPlayerEntity player) {
System.out.println(player.getUuid());
chatPrefixModule.removePrefix(player, prefix); chatPrefixModule.removePrefix(player, prefix);
} }
} }