if category is not none, then we check

This commit is contained in:
Ryder Belserion 2024-10-11 09:27:31 -04:00
parent 4834aee690
commit 4d5dfb8e4e
No known key found for this signature in database

View File

@ -396,7 +396,7 @@ public class AuctionsMenu extends Holder {
final ItemBuilder itemBuilder = ItemBuilder.convertItemStack(item);
if (itemBuilder == null) continue;
if (this.category != Category.NONE && !this.category.getItems().contains(itemBuilder.getMaterial())) continue;
if (!this.category.getItems().contains(itemBuilder.getMaterial())) continue;