added NBT for origins of items

This commit is contained in:
hyperdefined
2023-07-13 19:04:29 -04:00
parent fd6c120a58
commit b38d2825cb
10 changed files with 82 additions and 44 deletions

View File

@@ -106,6 +106,7 @@ public class CraftItem implements Listener {
container.set(toolStats.timeCreated, PersistentDataType.LONG, timeCreated);
container.set(toolStats.genericOwner, new UUIDDataType(), owner.getUniqueId());
container.set(toolStats.originType, PersistentDataType.INTEGER, 0);
String createdByRaw = toolStats.getLoreFromConfig("created.created-by", true);
String createdOnRaw = toolStats.getLoreFromConfig("created.created-on", true);