9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-28 03:19:21 +00:00

Updated Upstream (Paper/Gale/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@57c75a4 Fix CraftMagicNumbers#getTag (#11484)
PaperMC/Paper@b16c0ae Add offline PDC API (#8117)
PaperMC/Paper@4430e96 Add AnvilView#bypassEnchantmentLevelRestriction (#11475)

Gale Changes:
Dreeam-qwq/Gale@d6c9313 Updated Upstream (Paper)
Dreeam-qwq/Gale@a235416 Added notification when executed perf command

Purpur Changes:
PurpurMC/Purpur@4565f41 these options should be off by default
PurpurMC/Purpur@4671e1e show a message stating the removal of mojang profiler when running perf comamnd, closes #1591
PurpurMC/Purpur@e12a4de Updated Upstream (Paper)
This commit is contained in:
Dreeam
2024-10-12 23:27:28 -04:00
parent dfcae93fa7
commit 397c82bc86
6 changed files with 50 additions and 50 deletions

View File

@@ -6,10 +6,10 @@ Subject: [PATCH] Configurable unknown command message
TODO - Dreeam: total configurable
diff --git a/src/main/java/net/minecraft/commands/Commands.java b/src/main/java/net/minecraft/commands/Commands.java
index 94bb40c9932b0b7dd9fb8af680b63d139ae18e3a..f5446158a83d5ccd79988ab71f2c4df220b39167 100644
index 91eea05a68d0ace8678fc5071e67cedb18a4386b..7af159281a69510d2b0787d472f1af39e1225a47 100644
--- a/src/main/java/net/minecraft/commands/Commands.java
+++ b/src/main/java/net/minecraft/commands/Commands.java
@@ -388,7 +388,14 @@ public class Commands {
@@ -390,7 +390,14 @@ public class Commands {
// Paper start - Add UnknownCommandEvent
final net.kyori.adventure.text.TextComponent.Builder builder = net.kyori.adventure.text.Component.text();
// commandlistenerwrapper.sendFailure(ComponentUtils.fromMessage(commandsyntaxexception.getRawMessage()));
@@ -24,7 +24,7 @@ index 94bb40c9932b0b7dd9fb8af680b63d139ae18e3a..f5446158a83d5ccd79988ab71f2c4df2
// Paper end - Add UnknownCommandEvent
if (commandsyntaxexception.getInput() != null && commandsyntaxexception.getCursor() >= 0) {
int i = Math.min(commandsyntaxexception.getInput().length(), commandsyntaxexception.getCursor());
@@ -414,7 +421,7 @@ public class Commands {
@@ -416,7 +423,7 @@ public class Commands {
.append(net.kyori.adventure.text.Component.newline())
.append(io.papermc.paper.adventure.PaperAdventure.asAdventure(ichatmutablecomponent));
}