mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-26 06:05:25 +01:00
additional filter check, if the currently selected filter is now disabled, update their filter to ALL
Took 2 minutes
This commit is contained in:
parent
b3aa3d4e06
commit
1c2b39fc41
@ -58,8 +58,11 @@ public class AuctionPlayerManager {
|
||||
if (!Settings.ALLOW_USAGE_OF_BID_SYSTEM.getBoolean())
|
||||
found.setSelectedSaleType(AuctionSaleType.BOTH);
|
||||
|
||||
// if the player's current filter is disabled, set it to all
|
||||
if (!found.getSelectedFilter().isEnabled())
|
||||
found.setSelectedFilter(AuctionItemCategory.ALL);
|
||||
|
||||
if (AuctionItemCategory.isAllButAllDisabled())
|
||||
if (found.getSelectedFilter() != AuctionItemCategory.ALL && AuctionItemCategory.isAllButAllDisabled())
|
||||
found.setSelectedFilter(AuctionItemCategory.ALL);
|
||||
|
||||
if (!Settings.DISABLE_PROFILE_UPDATE_MSG.getBoolean())
|
||||
|
Loading…
Reference in New Issue
Block a user