update various things for origin NBT

This commit is contained in:
hyperdefined
2023-07-13 19:16:02 -04:00
parent b38d2825cb
commit 29a2a5150c
5 changed files with 47 additions and 22 deletions

View File

@@ -146,7 +146,7 @@ public class GenerateLoot implements Listener {
container.set(toolStats.originType, PersistentDataType.INTEGER, 2);
String formattedDate = toolStats.numberFormat.formatDate(finalDate);
List<String> newLore = toolStats.itemLore.addNewOwner(meta, owner.getName(), formattedDate, "LOOTED");
List<String> newLore = toolStats.itemLore.addNewOwner(meta, owner.getName(), formattedDate);
if (toolStats.checkConfig(newItem, "looted-tag")) {
meta.setLore(newLore);