From 5cfd799cff4474512e579505225e232cd7af1a1c Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Tue, 22 Jul 2014 20:16:50 -0500 Subject: [PATCH] Fix incorrect API version on startup --- Spigot-Server-Patches/0001-POM-changes.patch | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/0001-POM-changes.patch b/Spigot-Server-Patches/0001-POM-changes.patch index cb514c9f76..59e1bf08b0 100644 --- a/Spigot-Server-Patches/0001-POM-changes.patch +++ b/Spigot-Server-Patches/0001-POM-changes.patch @@ -1,4 +1,4 @@ -From d2ee25f3a51bd4fb04a015c3f1854ac1f88b7c41 Mon Sep 17 00:00:00 2001 +From 5bf726c8d90dbef44a3efbbb3f39c2ebf759e6d8 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 21 Jul 2014 15:36:01 -0500 Subject: [PATCH] POM changes @@ -63,6 +63,19 @@ index 6aeffa8..7a1fc32 100644 +diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java +index 9304637..3a4b142 100644 +--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java ++++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java +@@ -11,7 +11,7 @@ public final class Versioning { + public static String getBukkitVersion() { + String result = "Unknown-Version"; + +- InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/org.spigotmc/spigot-api/pom.properties"); ++ InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/org.github.paperspigot/paperspigot-api/pom.properties"); + Properties properties = new Properties(); + + if (stream != null) { -- 1.9.1