mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-02-27 21:31:33 +01:00
2.111.0
Took 1 minute
This commit is contained in:
parent
18caf2f2f3
commit
c83a7f0ee9
4
pom.xml
4
pom.xml
@ -8,7 +8,7 @@
|
||||
|
||||
<name>AuctionHouse</name>
|
||||
<description>The ultimate auction solution for your server</description>
|
||||
<version>2.110.3</version>
|
||||
<version>2.111.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<author>Kiran Hart</author>
|
||||
@ -119,7 +119,7 @@
|
||||
<dependency>
|
||||
<groupId>ca.tweetzy</groupId>
|
||||
<artifactId>tweetycore</artifactId>
|
||||
<version>3.10.0</version>
|
||||
<version>3.10.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mineacademy.plugin</groupId>
|
||||
|
@ -79,12 +79,10 @@ public final class GUIAuctionHouseV2 extends AuctionUpdatingPagedGUI<AuctionedIt
|
||||
protected void prePopulate() {
|
||||
this.items = AuctionHouse.getInstance().getAuctionItemManager().getValidItems(this.player);
|
||||
|
||||
// TODO RE-IMPL search
|
||||
if (this.searchKeywords != null && this.searchKeywords.length() != 0) {
|
||||
this.items = this.items.stream().filter(item -> checkSearchCriteria(this.searchKeywords, item)).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
if (this.auctionPlayer != null) {
|
||||
if (this.auctionPlayer.getSelectedFilter() != AuctionItemCategory.ALL && this.auctionPlayer.getSelectedFilter() != AuctionItemCategory.SEARCH && this.auctionPlayer.getSelectedFilter() != AuctionItemCategory.SELF) {
|
||||
this.items = this.items.stream().filter(item -> checkFilterCriteria(item, this.auctionPlayer.getSelectedFilter())).collect(Collectors.toList());
|
||||
|
Loading…
Reference in New Issue
Block a user