File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
src/main/java/xyz/theprogramsrc/supercoreapi/spigot/gui Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## v5.2.4 Changelog:
2
+ ```
3
+ * Fixed BrowserGui Search
4
+ ```
5
+
1
6
## v5.2.3 Changelog:
2
7
```
3
8
* Deprecated SimpleItem#setOwner
4
9
* Now javadoc is hosted on github pages
5
10
```
11
+
6
12
## v5.2.2 Changelog:
7
13
```
8
14
* Fix to the Settings Gui
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >xyz.theprogramsrc</groupId >
8
8
<artifactId >SuperCoreAPI</artifactId >
9
- <version >5.2.3 </version >
9
+ <version >5.2.4 </version >
10
10
<packaging >jar</packaging >
11
11
12
12
<name >SuperCoreAPI</name >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public void onBuild(GuiModel model) {
53
53
String [] tags = this .getSearchTags (obj );
54
54
if (tags == null || this .searchTerm == null ) return true ;
55
55
if (tags .length == 0 ) return true ;
56
- return Arrays .stream (tags ).anyMatch (tag -> this .getSuperUtils ().removeColor (this . searchTerm ).contains (this .getSuperUtils ().removeColor (tag )));
56
+ return Arrays .stream (tags ).anyMatch (tag -> this .getSuperUtils ().removeColor (tag ).contains (this .getSuperUtils ().removeColor (this . searchTerm )));
57
57
}).collect (Collectors .toList ()));
58
58
int offset = this .page * this .maxItemsPerPage ;
59
59
int itemsToTake = Math .min (offset + this .maxItemsPerPage , objects .size ());
You can’t perform that action at this time.
0 commit comments