mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-24 17:17:49 +01:00
Merge pull request #27 from jrtc27/bank
Only check if a bank exists when banks are supported
This commit is contained in:
commit
0c1e287b8a
@ -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