Fix incorrect API version on startup

This commit is contained in:
Zach Brown 2014-07-22 20:16:50 -05:00
parent 867d37a1cf
commit e35070d9b9

View file

@ -63,4 +63,17 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
<outputPostfix></outputPostfix> <outputPostfix></outputPostfix>
</configuration> </configuration>
<executions> <executions>
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
@@ -0,0 +0,0 @@ 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) {
-- --