Update patches to latest 1.21.4 #1

Merged
Chaoscaot merged 242 commits from update/1.21.4 into main 2025-04-23 22:27:11 +02:00
384 changed files with 5594 additions and 2388 deletions
Showing only changes of commit ca2610904b - Show all commits

View File

@ -361,7 +361,7 @@
}
@Override
@@ -515,14 +_,52 @@
@@ -515,14 +_,54 @@
@Override
public String getPluginNames() {
@ -402,6 +402,8 @@
+ }
+
+ public String runCommand(RconConsoleSource rconConsoleSource, String s) {
+ if (s.isBlank()) return ""; // Paper - Do not process empty rcon commands
+
+ rconConsoleSource.prepareForCommand();
+ this.executeBlocking(() -> {
+ CommandSourceStack wrapper = rconConsoleSource.createCommandSourceStack();