23 lines
1000 B
Diff
23 lines
1000 B
Diff
|
From 57ca1cb0f9554082e1e113276327081eabc1b118 Mon Sep 17 00:00:00 2001
|
||
|
From: Alfie Cleveland <alfeh@me.com>
|
||
|
Date: Sun, 30 Jul 2017 02:17:27 +0100
|
||
|
Subject: [PATCH] Add MineHQ versioning
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||
|
index 93046379d..a22c28544 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/net.frozenorb/sourspigot-api/pom.properties");
|
||
|
Properties properties = new Properties();
|
||
|
|
||
|
if (stream != null) {
|
||
|
--
|
||
|
2.13.3
|
||
|
|