mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-02-18 19:41:19 +01:00
⚙️logic adjustment for bundle limit
Took 35 seconds
This commit is contained in:
parent
cdff6579a4
commit
f44a855e0b
@ -131,13 +131,13 @@ public class AuctionPlayer {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (isAtBundleLimit()) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("general.bundlelistlimit").sendPrefixedMessage(target);
|
||||
if (getSellLimit() - 1 < getItems(false).size()) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("general.sellinglimit").sendPrefixedMessage(target);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (getSellLimit() - 1 < getItems(false).size()) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("general.sellinglimit").sendPrefixedMessage(target);
|
||||
if (isAtBundleLimit()) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("general.bundlelistlimit").sendPrefixedMessage(target);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user