fix: All items are searchable in creative search (crystals, dusts, tomes)

This commit is contained in:
WinDanesz
2025-08-31 14:26:37 +02:00
parent 7f9edcfaef
commit bb4faf8ec9
3 changed files with 3 additions and 3 deletions
@@ -29,7 +29,7 @@ public class ItemSpectralDust extends Item implements IMultiTexturedItem {
@Override
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items){
if(tab == WizardryTabs.WIZARDRY){
if(tab == WizardryTabs.WIZARDRY || tab == CreativeTabs.SEARCH){
for(Element element : Arrays.copyOfRange(Element.values(), 1, Element.values().length)){
items.add(new ItemStack(this, 1, element.ordinal()));
}