Reenable commands in Commands.java #2

Merged
Chaoscaot merged 2 commits from reenable-commands into main 2025-04-26 09:44:06 +02:00
Showing only changes of commit 284f5adefd - Show all commits

View File

@ -5,10 +5,10 @@ Subject: [PATCH] SW Disable Commands
diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java
index 9dd86cf63dd93620adb539a7a80a8d01c7ac08a2..e9fbaf3cd91deada4cbf4d38a2e8f1ae4dca411b 100644
index 9dd86cf63dd93620adb539a7a80a8d01c7ac08a2..ca59e02fa0b2bbf2fdf53f088b0a6a876330fd73 100644
--- a/net/minecraft/commands/Commands.java
+++ b/net/minecraft/commands/Commands.java
@@ -235,21 +235,21 @@ public class Commands {
@@ -235,20 +235,20 @@ public class Commands {
}
if (selection.includeDedicated) {
@ -35,9 +35,7 @@ index 9dd86cf63dd93620adb539a7a80a8d01c7ac08a2..e9fbaf3cd91deada4cbf4d38a2e8f1ae
+ //SetPlayerIdleTimeoutCommand.register(this.dispatcher);
StopCommand.register(this.dispatcher);
- TransferCommand.register(this.dispatcher);
- WhitelistCommand.register(this.dispatcher);
+ //TransferCommand.register(this.dispatcher);
+ //WhitelistCommand.register(this.dispatcher);
WhitelistCommand.register(this.dispatcher);
}

Whitelist haben wir manchmal z.B. auf Devservern Verwendung für.

Whitelist haben wir manchmal z.B. auf Devservern Verwendung für.
if (selection.includeIntegrated) {