mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 02:19:48 -05:00
Use plugin when plugin object is avaliable, avoid to use QuickShop.getInstance()
Former-commit-id: 2b9252ce20d06cf36eed57393500d3b86249cae0
This commit is contained in:
1 parent
1df259b425
commit
82f9dbfe4e
1 file changed
+1
-1
@@ -754,7 +754,7 @@ public class ShopManager {
|
||||
} else {
|
||||
MsgUtil.sendMessage(p, MsgUtil.getMessage("purchase-failed", p));
|
||||
plugin.getLogger().severe("EconomyTransaction Failed, last error:" + economyTransaction.getLastError());
|
||||
QuickShop.getInstance().log("EconomyTransaction Failed, last error:" + economyTransaction.getLastError());
|
||||
plugin.log("EconomyTransaction Failed, last error:" + economyTransaction.getLastError());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user