diff --git a/patches/server/0021-Fix-versioning.patch b/patches/server/0021-Fix-versioning.patch new file mode 100644 index 0000000..3d8132a --- /dev/null +++ b/patches/server/0021-Fix-versioning.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Telesphoreo +Date: Tue, 19 Apr 2022 19:15:28 -0500 +Subject: [PATCH] Fix versioning + + +diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java +index becf61c0adde1c27f3e462a1b8248544ab181797..7ce9705a83c7ba180f2cc831f6cac7ed11f937c0 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/me.totalfreedom.scissors/scissors-api/pom.properties"); ++ InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/libraries/me.totalfreedom.scissors/Scissors-API/pom.properties"); + Properties properties = new Properties(); + + if (stream != null) {