diff --git a/paper-server/patches/features/0031-SW-Remove-Worldlock-and-Symlink-Check.patch b/paper-server/patches/features/0032-SW-Remove-Worldlock-and-Symlink-Check.patch similarity index 100% rename from paper-server/patches/features/0031-SW-Remove-Worldlock-and-Symlink-Check.patch rename to paper-server/patches/features/0032-SW-Remove-Worldlock-and-Symlink-Check.patch diff --git a/paper-server/patches/features/0032-SW-Disable-Commands.patch b/paper-server/patches/features/0034-SW-Disable-Commands.patch similarity index 95% rename from paper-server/patches/features/0032-SW-Disable-Commands.patch rename to paper-server/patches/features/0034-SW-Disable-Commands.patch index 10c4950c1..4abac08f5 100644 --- a/paper-server/patches/features/0032-SW-Disable-Commands.patch +++ b/paper-server/patches/features/0034-SW-Disable-Commands.patch @@ -1,17 +1,17 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Chaoscaot -Date: Wed, 25 Dec 2024 12:31:02 +0100 +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 19ccf3abf14c67f72a1ca065e4a304f50e645ef4..86d2a9b1cbe6e03066ea4a2034e2dd611bff67cb 100644 +index f8969a68cd352ce4fe5109205e78f5e19ab6e020..efae844a9419b1e06bcd6ed0d2a4d70cb622330f 100644 --- a/net/minecraft/commands/Commands.java +++ b/net/minecraft/commands/Commands.java -@@ -150,66 +150,66 @@ public class Commands { - private final CommandDispatcher dispatcher = new CommandDispatcher<>(); - - public Commands(Commands.CommandSelection selection, CommandBuildContext context) { +@@ -155,66 +155,66 @@ public class Commands { + } + public Commands(Commands.CommandSelection selection, CommandBuildContext context, final boolean modern) { + // Paper end - Brigadier API - modern minecraft overloads that do not use redirects but are copies instead - AdvancementCommands.register(this.dispatcher); - AttributeCommand.register(this.dispatcher, context); - ExecuteCommand.register(this.dispatcher, context); @@ -119,7 +119,7 @@ index 19ccf3abf14c67f72a1ca065e4a304f50e645ef4..86d2a9b1cbe6e03066ea4a2034e2dd61 WeatherCommand.register(this.dispatcher); WorldBorderCommand.register(this.dispatcher); if (JvmProfiler.INSTANCE.isAvailable()) { -@@ -230,20 +230,20 @@ public class Commands { +@@ -235,20 +235,20 @@ public class Commands { } if (selection.includeDedicated) {