[SPIGOT-4022] Item.getName() returns the same as item.getUniqueId() Created: 16/Jul/18 Updated: 16/Jul/18 Resolved: 16/Jul/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Gerhard | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | bug, entity, spigot | ||
Environment: |
java version "1.8.0_171" |
Version: | CraftBukkit version git-Spigot-6505f06-b8ea9ec (MC: 1.13-pre7) (Implementing API version 1.13-pre7-R0.1-SNAPSHOT) |
Description |
This both yields the same result. (which is the UUID) import org.bukkit.entity.Item; import org.bukkit.event.entity.EntityPickupItemEvent; @EventHandler public void onEntityPickupItemEvent(EntityPickupItemEvent event) { try { Item item = event.getItem(); System.out.println(item.getName()); System.out.println(item.getUniqueId()); } ... |
Comments |
Comment by md_5 [ 16/Jul/18 ] |
Please follow the bug reporting instructions next time |
Comment by md_5 [ 16/Jul/18 ] |
And what did you expect? |