Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate ToolCategoryRegistry#get() branches for readability, use Obj…
…ect#equals() to compare NBT values to better support nullable inputs Previous conditions would only check for NBT if it was defined by the category meaning categories without NBT would get ignored if they had a lower priority. Using Object#equals() will now allow non-NBT-declaring, low priority categories to be considered if all other categories are not applicable, as is the expected result
- Loading branch information