aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0510-Expose-protocol-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0510-Expose-protocol-version.patch')
-rw-r--r--patches/server/0510-Expose-protocol-version.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0510-Expose-protocol-version.patch b/patches/server/0510-Expose-protocol-version.patch
index 3bdee13099..37634ea475 100644
--- a/patches/server/0510-Expose-protocol-version.patch
+++ b/patches/server/0510-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 00e4e899cf7ee5da89a77175e417115e7ba97afd..a71717fe99e78c480747cc61ab30b53b6667fde7 100644
+index 7e538a5e742914aa496d76ffe5b450397367cf40..86584a2308006a5b217841a97461707ce610d32f 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -546,6 +546,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -532,6 +532,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
public String getMainLevelName() {
return ((net.minecraft.server.dedicated.DedicatedServer) net.minecraft.server.MinecraftServer.getServer()).getProperties().levelName;
}