44 lines
2.0 KiB
Diff
44 lines
2.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Chaoscaot <chaos@chaoscaot.de>
|
|
Date: Sun, 30 Mar 2025 12:00:50 +0200
|
|
Subject: [PATCH] SW Disable Commands
|
|
|
|
|
|
diff --git a/net/minecraft/commands/Commands.java b/net/minecraft/commands/Commands.java
|
|
index 9dd86cf63dd93620adb539a7a80a8d01c7ac08a2..e9fbaf3cd91deada4cbf4d38a2e8f1ae4dca411b 100644
|
|
--- a/net/minecraft/commands/Commands.java
|
|
+++ b/net/minecraft/commands/Commands.java
|
|
@@ -235,21 +235,21 @@ public class Commands {
|
|
}
|
|
|
|
if (selection.includeDedicated) {
|
|
- BanIpCommands.register(this.dispatcher);
|
|
- BanListCommands.register(this.dispatcher);
|
|
- BanPlayerCommands.register(this.dispatcher);
|
|
- DeOpCommands.register(this.dispatcher);
|
|
- OpCommand.register(this.dispatcher);
|
|
- PardonCommand.register(this.dispatcher);
|
|
- PardonIpCommand.register(this.dispatcher);
|
|
- PerfCommand.register(this.dispatcher);
|
|
+ //BanIpCommands.register(this.dispatcher);
|
|
+ //BanListCommands.register(this.dispatcher);
|
|
+ //BanPlayerCommands.register(this.dispatcher);
|
|
+ //DeOpCommands.register(this.dispatcher);
|
|
+ //OpCommand.register(this.dispatcher);
|
|
+ //PardonCommand.register(this.dispatcher);
|
|
+ //PardonIpCommand.register(this.dispatcher);
|
|
+ //PerfCommand.register(this.dispatcher);
|
|
SaveAllCommand.register(this.dispatcher);
|
|
SaveOffCommand.register(this.dispatcher);
|
|
SaveOnCommand.register(this.dispatcher);
|
|
- SetPlayerIdleTimeoutCommand.register(this.dispatcher);
|
|
+ //SetPlayerIdleTimeoutCommand.register(this.dispatcher);
|
|
StopCommand.register(this.dispatcher);
|
|
- TransferCommand.register(this.dispatcher);
|
|
- WhitelistCommand.register(this.dispatcher);
|
|
+ //TransferCommand.register(this.dispatcher);
|
|
+ //WhitelistCommand.register(this.dispatcher);
|
|
}
|
|
|
|
if (selection.includeIntegrated) {
|