We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d46f84 commit ca8ab03Copy full SHA for ca8ab03
src/main/java/me/zombie_striker/qg/listener/QAListener.java
@@ -286,6 +286,11 @@ public void oninvClick(final InventoryClickEvent e) {
286
e.setCancelled(true);
287
288
if (shop) {
289
+ if (!QAMain.enableEconomy) {
290
+ try {
291
+ QAMain.enableEconomy = EconHandler.setupEconomy();
292
+ } catch (Exception | Error ignored) {}
293
+ }
294
295
if (!QAMain.enableEconomy) {
296
e.getWhoClicked().closeInventory();
0 commit comments