mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-23 07:11:20 +01:00
Properly detect if reserve economy is provided (Fixes #210)
This commit is contained in:
parent
b931393a62
commit
355fa58ac4
@ -51,7 +51,7 @@ public class ReserveListener implements Listener {
|
||||
}
|
||||
|
||||
public static @Nullable ReserveListener prepareListener() {
|
||||
if (Bukkit.getPluginManager().getPlugin("Reserve") == null || Reserve.instance().economyProvided()) {
|
||||
if (Bukkit.getPluginManager().getPlugin("Reserve") == null || !Reserve.instance().economyProvided()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user