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 4ddb5e7ce3529466c3930caa9aa6b18158e9a63d..22c7cddef55727ad00f909e551f40a544316e5ca 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);