Material#createBlockData throws an internal NullPointerException #11673
Labels
good first issue
Simple bug fix or feature which would be a good first PR for someone new to the project
priority: low
This issue only describes a minor inconvenience.
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
Stack trace
Plugin and Datapack List
FastAsyncWorldEdit, LuckPerms
Actions to reproduce (if known)
Paper version
1.21.1-52
Other
Spigot or Paper is calling
ConcurrentHashMap#get(null)
The method should be throwing IllegalArgumentException and not NullPointerException when the specified data is not valid, as stated by the javadoc.
Placing the map lambda into an ignore try catch solves the issue.
The text was updated successfully, but these errors were encountered: