Add the missing LoreContainer#Save function
This commit is contained in:
parent
20f405a809
commit
629a8a8bb8
3 changed files with 8 additions and 3 deletions
|
@ -21,6 +21,11 @@ public class LoreContainer {
|
|||
|
||||
this.associatedItem = associated;
|
||||
}
|
||||
public void save(CompoundTag tag)
|
||||
{
|
||||
tag.putInt("pos", loreEntryNumber);
|
||||
miscData.save(tag);
|
||||
}
|
||||
|
||||
public LoreContainer(ItemStack stack)
|
||||
{
|
||||
|
@ -66,7 +71,7 @@ public class LoreContainer {
|
|||
tag.put(ItemStack.TAG_DISPLAY, display);
|
||||
associatedItem.setTag(tag);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void SetOrUpdateIndex(ListTag lst, int pos, Tag insert)
|
||||
|
|
Reference in a new issue