From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Helvetica Volubi Date: Mon, 29 Sep 2025 22:56:03 +0800 Subject: [PATCH] Add config to enable scoreboard command diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java index 1b2d3e2c23e8e03ae25e85a60b6ef0528e627f61..916b5c8d524ffd7ccb953fe0f1cf020a1ea8dafb 100644 --- a/net/minecraft/commands/Commands.java +++ b/net/minecraft/commands/Commands.java @@ -246,7 +246,11 @@ public class Commands { RotateCommand.register(this.dispatcher); SayCommand.register(this.dispatcher); //ScheduleCommand.register(this.dispatcher); // Folia - region threading - //ScoreboardCommand.register(this.dispatcher, context); // Folia - region threading + // Lophine start - Add a config to enable scoreboard command + if (fun.bm.lophine.config.modules.experiment.CommandConfig.scoreboard) { + ScoreboardCommand.register(this.dispatcher, context); // Folia - region threading + } + // Lophine end - Add a config to enable scoreboard command SeedCommand.register(this.dispatcher, commandSelection != Commands.CommandSelection.INTEGRATED); VersionCommand.register(this.dispatcher, commandSelection != Commands.CommandSelection.INTEGRATED); SetBlockCommand.register(this.dispatcher, context);