diff --git a/src/main/java/de/ellpeck/naturesaura/compat/jei/JEINaturesAuraPlugin.java b/src/main/java/de/ellpeck/naturesaura/compat/jei/JEINaturesAuraPlugin.java index cc164a9d..45ef4648 100644 --- a/src/main/java/de/ellpeck/naturesaura/compat/jei/JEINaturesAuraPlugin.java +++ b/src/main/java/de/ellpeck/naturesaura/compat/jei/JEINaturesAuraPlugin.java @@ -57,7 +57,8 @@ public class JEINaturesAuraPlugin implements IModPlugin { @Override public String getLegacyStringSubtypeInfo(ItemStack ingredient, UidContext context) { - return ItemEffectPowder.getEffect(ingredient).toString(); + var effect = ItemEffectPowder.getEffect(ingredient); + return effect != null ? effect.toString() : ""; } }); registration.registerSubtypeInterpreter(VanillaTypes.ITEM_STACK, ModItems.AURA_BOTTLE, new ISubtypeInterpreter<>() {