Skip to content

Commit

Permalink
Fix API version fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueris committed Nov 28, 2023
1 parent 022139e commit fb1e4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/server/0001-update-to-canvas-branding.patch
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ index 99597258e8e88cd9e2c901c4ac3ff7faeeabee2b..d74e826babcc2d132b258ad80c8851da
String result = "Unknown-Version";

- InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/org.purpurmc.purpur/purpur-api/pom.properties"); // Pufferfish // Purpur
+ InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/io.github.dueris/canvas-api/pom.properties"); // Pufferfish // Purpur // Canvas
+ InputStream stream = Bukkit.class.getClassLoader().getResourceAsStream("META-INF/maven/io.github.dueris/canvas-api/pom.properties"); // Pufferfish // Purpur // Canvas - Update api loc && fix issue #04
Properties properties = new Properties();

if (stream != null) {
Expand Down

0 comments on commit fb1e4ec

Please sign in to comment.