[SPIGOT-1688] ItemFactory#asMetaFor or ItemFactory#getItemMeta are bugged Created: 03/Mar/16  Updated: 03/Mar/16  Resolved: 03/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: LEGOlord 208 Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 1.9, bug, metadata, potion, spigot


 Description   

Using ItemMeta#getItemMeta or ItemMeta#asMetaFor does not return right type.
According to my decompiler something hileriously weird is happening.

Tested on a potion. Did not return PotionMeta.



 Comments   
Comment by LEGOlord 208 [ 03/Mar/16 ]

No answer

Aw this is making me so mad!
I need to use reflection as workaround and everything sucks!

In many parts of the code it says that Potions = Sandstone.
I can't use setItemMeta and more! RAGGEEEEEE

Generated at Sat Dec 13 15:23:48 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.