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 3d9e8c5ba567efd363e0ed54059f67fbfe25e361..6642288dde528899d9bce7ccd8d92a199e8975c8 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);