Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Fix item filter bug
Browse files Browse the repository at this point in the history
Former-commit-id: 348c24d
  • Loading branch information
Ghost-chu committed Sep 23, 2018
1 parent df36c38 commit ed77280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.maxgamer</groupId>
<artifactId>QuickShop</artifactId>
<version>Reremake 1.2.0-beta6</version>
<version>Reremake 1.2.0-beta7</version>
<!-- Fuck version -->
<licenses>
<license>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public void spawn() {
itemlist = plugin.getConfig().getList("float.item.list");
for (Object material : itemlist) {
String materialname = String.valueOf(material);
Material item = Material.matchMaterial(materialname);
if (item != null) {
String itemname = iStack.getType().name();
if (materialname.equals(itemname)) {
found_item = true;
break;
} else {
Expand Down

0 comments on commit ed77280

Please sign in to comment.