Fix a small little typo

This commit is contained in:
Tara 2023-01-21 22:54:57 -07:00
parent 629a8a8bb8
commit 608e17b34c
5 changed files with 8 additions and 4 deletions

View file

@ -5,6 +5,7 @@ import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.StringTag;
import net.minecraft.nbt.Tag;
import net.minecraft.nbt.TagTypes;
import net.minecraft.world.item.ItemStack;
public class LoreContainer {
@ -35,7 +36,7 @@ public class LoreContainer {
ListTag loreEntries = null;
if(display!= null)
{
loreEntries = display.getList(ItemStack.TAG_LORE, Tag.TAG_COMPOUND);
loreEntries = display.getList(ItemStack.TAG_LORE, Tag.TAG_STRING);
if(loreEntries==null)
{
loreEntryNumber=0;

View file

@ -19,7 +19,7 @@ modId="libzontreck" #mandatory
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
# see the associated build.gradle script for how to populate this completely automatically during a build
version="1.0.3.3" #mandatory
version="1.0.3.4" #mandatory
# A display name for the mod
displayName="LibZontreck" #mandatory
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/