mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-28 00:15:59 +00:00
added NBT for origins of items
This commit is contained in:
@@ -83,6 +83,9 @@ public class EntityDeath implements Listener {
|
||||
return null;
|
||||
}
|
||||
|
||||
PersistentDataContainer container = meta.getPersistentDataContainer();
|
||||
container.set(toolStats.originType, PersistentDataType.INTEGER, 1);
|
||||
|
||||
List<String> newLore = toolStats.itemLore.addItemLore(meta, "{name}", mob, "dropped-by");
|
||||
|
||||
if (toolStats.config.getBoolean("enabled.dropped-by")) {
|
||||
|
||||
Reference in New Issue
Block a user