diff --git a/paper-server/patches/features/0032-SW-Disable-Commands.patch b/paper-server/patches/features/0032-SW-Disable-Commands.patch index abe3221d8..d5b48534b 100644 --- a/paper-server/patches/features/0032-SW-Disable-Commands.patch +++ b/paper-server/patches/features/0032-SW-Disable-Commands.patch @@ -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); } - if (selection.includeIntegrated) {