Paper icon indicating copy to clipboard operation
Paper copied to clipboard

getCreativeCategory() doesn't work correctly

Open IDev-mc opened this issue 2 years ago • 1 comments

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

IDev-mc avatar Jan 07 '23 19:01 IDev-mc

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.

Machine-Maker avatar Jan 07 '23 20:01 Machine-Maker