Merge pull request #27 from jrtc27/bank

Only check if a bank exists when banks are supported
This commit is contained in:
Andrzej Pomirski 2013-04-13 03:32:25 -07:00
commit 0c1e287b8a

View File

@ -44,7 +44,11 @@ public class Economy {
}
public static boolean bankExists(String name) {
if (hasBankSupport()) {
return manager.bankExists(name);
} else {
return false;
}
}
public static boolean add(String name, double amount) {