Fix item filter bug

Former-commit-id: 348c24d52b6670efd455fd2faf9a8d40ac7582f8
This commit is contained in:
Ghost_chu committed 2018-09-23 21:51:18 +08:00
1 parent df36c38472
commit ed772804f7
2 files changed
+3 -3

No files matched your search

@@ -66,8 +66,8 @@ public class DisplayItem {
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 {