Skip to content

Commit

Permalink
fix: Fix loading on CraftBukkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelien30000 authored Jul 14, 2024
1 parent 32a0da2 commit ebb1486
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/uk/antiperson/stackmob/utils/Utilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class Utilities {
static {
boolean usingPaper1;
try {
Bukkit.class.getMethod("spigot");
Bukkit.spigot().getClass().getMethod("getPaperConfig");
usingPaper1 = true;
} catch (NoSuchMethodException e) {
Expand Down

0 comments on commit ebb1486

Please sign in to comment.