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 ddd656e147cdaeb8f91865117e6f9c268b0fd9bc..5fda3083f73744b0df3aab47b3c378dba41b904c 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);