Fix incorrect API version on startup

This commit is contained in:
Zach Brown 2014-07-22 20:16:50 -05:00
parent 1dc9ebc2de
commit 5cfd799cff
1 changed files with 14 additions and 1 deletions

View File

@ -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 <Zbob750@live.com>
Date: Mon, 21 Jul 2014 15:36:01 -0500
Subject: [PATCH] POM changes
@ -63,6 +63,19 @@ index 6aeffa8..7a1fc32 100644
<outputPostfix></outputPostfix>
</configuration>
<executions>
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