Paper
Paper copied to clipboard
getCreativeCategory() doesn't work correctly
Expected behavior
Returns the correct CreativeCategory from a Material
Observed/Actual behavior
Allways returns BUILDING_BLOCKS
Steps/models to reproduce
get the CreativeCategory from a Material and check if its the right one
Plugin and Datapack List
FFA(The problematic Plugin), LuckPerms, Multiverse-Core, Plan, WebConsole, Worldedit
Paper version
paper-1.19.3-371
Other
No response
Yeah, there’s an open PR to fix this. The current method will be deprecated and replaced because items can be in multiple categories now.