aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0509-Expose-protocol-version.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-07-19 13:08:08 +0200
committerGitHub <[email protected]>2024-07-19 13:08:08 +0200
commit75af62b298eb70f535486df3343a1a333a60a002 (patch)
tree1571aa3ade589036a36df4570cbe4f6ac430b93c /patches/server/0509-Expose-protocol-version.patch
parent2a392767942799bc93a70a8698a0ef4ca7b8b6f9 (diff)
downloadPaper-75af62b298eb70f535486df3343a1a333a60a002.tar.gz
Paper-75af62b298eb70f535486df3343a1a333a60a002.zip
Split rewriting flag into `paper.disableOldApiSupport` and `paper.disablePluginRemapping` (#11108)
Diffstat (limited to 'patches/server/0509-Expose-protocol-version.patch')
-rw-r--r--patches/server/0509-Expose-protocol-version.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0509-Expose-protocol-version.patch b/patches/server/0509-Expose-protocol-version.patch
index 689a2cb377..3b28ea2ad4 100644
--- a/patches/server/0509-Expose-protocol-version.patch
+++ b/patches/server/0509-Expose-protocol-version.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Expose protocol version
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-index a58fb15e6e7054ee99560790bab0757231337ed6..3f2222bfed1b852cd68b509d16d18cda9ed30237 100644
+index e44bcf61c09245a63d50dd1be3c5b1fca7225ff9..fd36c8c62503e4ce035d51b0cc4e8dd55e66cc5d 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -515,6 +515,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -521,6 +521,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
public String getMainLevelName() {
return ((net.minecraft.server.dedicated.DedicatedServer) net.minecraft.server.MinecraftServer.getServer()).getProperties().levelName;
}