mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Fix a possible NPE
Former-commit-id: 17cb540ffda7e4c94aafc3aad9379d72073ab8fb
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user