This is generated by calude As it's only change the display, no tests and review are required
22 lines
1.4 KiB
Diff
22 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: MrHua269 <mrhua269@gmail.com>
|
|
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..6b91eab354d8e7c93bf148bfc1f5a611f8ffcf86 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(moe.monnairealms.camellia.config.modules.experiment.CommandConfig.data) { // Camellia - Add force the data command to be enabled config
|
|
+ DataCommands.register(this.dispatcher); // Folia - region threading - TODO // Camellia - Add force the data command to be enabled config
|
|
+ } // Camellia - 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);
|