9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-19 15:09:24 +00:00

fix item meta handling

This commit is contained in:
Xiao-MoMi
2025-09-18 22:11:59 +08:00
parent e416984b7b
commit f1165cfafe
3 changed files with 25 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ public interface ItemManager extends Reloadable {
/**
* Retrieves the item ID of the given item stack. If it's a vanilla item, the returned value would be capitalized for instance {@code PAPER}. If it's a CustomFishing
* item, the returned value would be the ID for instance {@code beginner_rod}. If it's an item from other plugins, the returned value would be the
* id from that plugin for instance {@code itemsadder_namespace:id} / {@code oraxen_item_id}
* id from that plugin for instance {@code namespace:id} / {@code MythicSword}
*
* @param itemStack the {@link ItemStack} to be checked
* @return the custom fishing item ID, or null if the item stack is not a custom fishing item