Apply service injector for economy

Former-commit-id: 784ecaf5030d79d8aaf3a143be1f8dc4ad6a5dc0
This commit is contained in:
Ghost_chu committed 2020-04-06 18:37:18 +08:00
1 parent e3223cb1e4
commit acb58e697f
1 file changed
+1 -1
@@ -421,7 +421,7 @@ public class QuickShop extends JavaPlugin {
// getLogger().severe("(Does Vault have an Economy to hook into?!)");
return false;
} else {
this.economy = new Economy(core);
this.economy = new Economy(ServiceInjector.getEconomyCore(core));
return true;
}
} catch (Exception e) {