aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0516-Expose-protocol-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0516-Expose-protocol-version.patch')
-rw-r--r--patches/server/0516-Expose-protocol-version.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0516-Expose-protocol-version.patch b/patches/server/0516-Expose-protocol-version.patch
index e9d7b980a1..c9bcdbf1fe 100644
--- a/patches/server/0516-Expose-protocol-version.patch
+++ b/patches/server/0516-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 7e8bd8204dcdc64897464331c99eae25b127d30c..28f8a85c35c9c160bb223b8cd4245949b259dd5c 100644
+index 6898e89b19f028736b5eb736746000bf7023145a..b89dcdf4b303042024dec1bf07f92fb08327f061 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -545,6 +545,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -546,6 +546,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
public String getMainLevelName() {
return ((net.minecraft.server.dedicated.DedicatedServer) net.minecraft.server.MinecraftServer.getServer()).getProperties().levelName;
}