
Unchecked read from nbt creates namespace only identifier
Linguardium opened this issue ยท 1 comments
This creates issues with mods like trofers that generate entities that dont tick.
best practice is to check for the presence of the nbt and if it isnt present, use a default. If you previously used an empty string, you may want to instead set it to default if empty after reading since a readString when the key is missing will return an empty string.