mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-24 17:17:49 +01:00
Only check if a bank exists when banks are supported
This commit is contained in:
parent
3ca275cfd6
commit
3098a38ba9
@ -44,7 +44,11 @@ public class Economy {
|
||||
}
|
||||
|
||||
public static boolean bankExists(String name) {
|
||||
return manager.bankExists(name);
|
||||
if (hasBankSupport()) {
|
||||
return manager.bankExists(name);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean add(String name, double amount) {
|
||||
|
Loading…
Reference in New Issue
Block a user