Skip to content

Commit

Permalink
Fix the wrong potion meta provider being used on 1.8.8 (EssentialsX#6047
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mdcfe authored Feb 15, 2025
1 parent cb00783 commit 69ed07a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ public static boolean test() {
try {
// This provider was created to support the new PotionData API introduced in 1.9
Class.forName("org.bukkit.potion.PotionData");
return false;
} catch (final Throwable ignored) {
return true;
} catch (final Throwable ignored) {
return false;
}
}
}

0 comments on commit 69ed07a

Please sign in to comment.