mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-06 06:41:44 +00:00
added comments to better explain what is going on
This commit is contained in:
@@ -68,6 +68,11 @@ public class PickupItem implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds "looted by" tags for elytras.
|
||||
* @param itemStack The elytra to add lore to.
|
||||
* @param owner The player who found it.
|
||||
*/
|
||||
private void addLore(ItemStack itemStack, Player owner) {
|
||||
ItemMeta meta = itemStack.getItemMeta();
|
||||
if (meta == null) {
|
||||
|
||||
Reference in New Issue
Block a user