Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 11:00:06 +01:00
Fix incorrect API version on startup
Dieser Commit ist enthalten in:
Ursprung
1dc9ebc2de
Commit
5cfd799cff
@ -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
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren