mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Another all fix
Former-commit-id: b10c805e42640909d73bbcc822243b253689db6b [formerly 481dd4a682d2b66a6b1e6fbedefc61987fa0ec32] Former-commit-id: 26461cdd7cd4b1a8945c637838a419dd1e07150f
This commit is contained in:
1 parent
0bd550d7b2
commit
51e95608b9
1 file changed
+1
-1
@@ -416,7 +416,7 @@ public class ShopManager {
|
||||
amount = Integer.parseInt(message);
|
||||
} catch (NumberFormatException e) {
|
||||
if (message.equalsIgnoreCase(plugin.getConfig().getString("shop.word-for-trade-all-items", "all"))) {
|
||||
amount = Util.countSpace(p.getInventory(), shop.getItem());
|
||||
amount = Util.countItems(p.getInventory(), shop.getItem());
|
||||
} else {
|
||||
p.sendMessage(MsgUtil.getMessage("shop-purchase-cancelled", p));
|
||||
Util.debugLog("Receive the chat " + message + " and it format failed: " + e.getMessage());
|
||||
|
||||
Reference in new issue
Block a user