mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-12 22:59:08 +01:00
Fix the wrong potion meta provider being used on 1.8.8 (#6047)
This commit is contained in:
parent
cb00783ede
commit
69ed07a536
@ -135,9 +135,9 @@ public class LegacyPotionMetaProvider implements PotionMetaProvider {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user