From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: MrHua269 Date: Wed, 8 Jul 2026 23:37:00 +0800 Subject: [PATCH] Add force the data command to be enabled config diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java index bc9f6cc286536b87513de81855ad0b61cf787c84..6f0e1eae0cdc488d7afad18017205f3cd20e994a 100644 --- a/net/minecraft/commands/Commands.java +++ b/net/minecraft/commands/Commands.java @@ -202,7 +202,9 @@ public class Commands { ClearInventoryCommands.register(this.dispatcher, context); //CloneCommands.register(this.dispatcher, context); // Folia - region threading - TODO DamageCommand.register(this.dispatcher, context); - //DataCommands.register(this.dispatcher); // Folia - region threading - TODO + if(io.nanachiyo0721.shiroha.config.modules.experiment.CommandConfig.data) { // Shiroha - Add force the data command to be enabled config + DataCommands.register(this.dispatcher); // Folia - region threading - TODO // Shiroha - Add force the data command to be enabled config + } // Shiroha - Add force the data command to be enabled config //DataPackCommand.register(this.dispatcher, context); // Folia - region threading - TODO //DebugCommand.register(this.dispatcher); // Folia - region threading - TODO DefaultGameModeCommands.register(this.dispatcher);