add: allow /gamerule in playground.

This commit is contained in:
iceBear67 committed 2024-09-18 10:54:05 +08:00
1 parent f3fa16f6fc
commit a7e564d709
1 file changed
+2 -1
@@ -38,7 +38,8 @@ import java.util.Set;
public class CreativeRoomModule extends ServerModule { public class CreativeRoomModule extends ServerModule {
private static final Set<String> ALLOWED_VANILLA_COMMANDS = Set.of( private static final Set<String> ALLOWED_VANILLA_COMMANDS = Set.of(
"minecraft.command.weather", "minecraft.command.weather",
"minecraft.command.time"); "minecraft.command.time",
"minecraft.command.gamerule");
@Inject @Inject
private RoomRegistry roomRegistry; private RoomRegistry roomRegistry;
@Inject @Inject