Compare commits

..

No commits in common. "8a984911f61012cf786f1e9117a5ee370feb289c" and "0b14ab4e984fe30566a1ec9a87e2c851355d1546" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View file

@ -31,7 +31,7 @@ mod_name=NaturesAura
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=41.3
mod_version=41.2
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -57,8 +57,7 @@ public class JEINaturesAuraPlugin implements IModPlugin {
@Override
public String getLegacyStringSubtypeInfo(ItemStack ingredient, UidContext context) {
var effect = ItemEffectPowder.getEffect(ingredient);
return effect != null ? effect.toString() : "";
return ItemEffectPowder.getEffect(ingredient).toString();
}
});
registration.registerSubtypeInterpreter(VanillaTypes.ITEM_STACK, ModItems.AURA_BOTTLE, new ISubtypeInterpreter<>() {

View file

@ -16,7 +16,7 @@
],
"result": {
"id": "patchouli:guide_book",
"components": {
"nbt": {
"patchouli:book": "naturesaura:book"
}
}