mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-03-11 02:41:59 +00:00
added NBT for origins of items
This commit is contained in:
@@ -109,6 +109,7 @@ public class VillagerTrade implements Listener {
|
||||
|
||||
container.set(toolStats.timeCreated, PersistentDataType.LONG, timeCreated);
|
||||
container.set(toolStats.genericOwner, new UUIDDataType(), owner.getUniqueId());
|
||||
container.set(toolStats.originType, PersistentDataType.INTEGER, 3);
|
||||
|
||||
String formattedDate = toolStats.numberFormat.formatDate(finalDate);
|
||||
List<String> newLore = toolStats.itemLore.addNewOwner(meta, owner.getName(), formattedDate, "TRADED");
|
||||
|
||||
Reference in New Issue
Block a user