Fix a possible NPE

Former-commit-id: 17cb540ffda7e4c94aafc3aad9379d72073ab8fb
This commit is contained in:
Ghost_chu committed 2020-01-18 22:04:32 +08:00
1 parent 55c4d0af4f
commit c35ea63384
1 file changed
+3
@@ -289,6 +289,9 @@ public class QuickShop extends JavaPlugin {
Util.debugLog("No any economy provider selected.");
break;
}
if(core == null){
return false;
}
if (!core.isValid()) {
// getLogger().severe("Economy is not valid!");
bootError = BuiltInSolution.econError();