mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2025-02-16 01:42:18 +01:00
if category is not none, then we check
This commit is contained in:
parent
4834aee690
commit
4d5dfb8e4e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user