#Practicing Null Safety and telling IntelliJ I am
1 messages · Page 1 of 1 (latest)
<@&987246527741304832> please have a look, thanks.
You can use </chatgpt:1108714622413963314> to ask ChatGPT about your question while you wait for a human to respond.
Ergh so...parametric nullness is a thing in a few contexts
but tbh the easier thing will be to null-unmark the type or change your API up
yeah I've just not added the @Nullable for now. It's not a huge deal as it's not really gonna be accessed, but just hoped there'd be something for me to use in future projects
what is this API for?
It's for a Minecraft mod, but it being minecraft didn't really seem to relevant haha
I'm just replacing a lot of the internal functionality of Item Settings and moving them to the new snapshot component functionality
and just have my own methods for checking for the components
!close