mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
Compare commits
3 commits
0b14ab4e98
...
8a984911f6
Author | SHA1 | Date | |
---|---|---|---|
8a984911f6 | |||
27f51b39dd | |||
|
7dd63845af |
3 changed files with 4 additions and 3 deletions
|
@ -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.2
|
||||
mod_version=41.3
|
||||
# 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
|
||||
|
|
|
@ -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<>() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
],
|
||||
"result": {
|
||||
"id": "patchouli:guide_book",
|
||||
"nbt": {
|
||||
"components": {
|
||||
"patchouli:book": "naturesaura:book"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue