wisp-forest / owo-lib

Open ωorthωhile Operations, yes the acronym was "totally accidental"
https://modrinth.com/mod/owo-lib
MIT License
191 stars 37 forks source link

(1.21) Incompatiblity with fabric api in dev enviroment under certain conditions #252

Closed unix-supremacist closed 2 months ago

unix-supremacist commented 3 months ago

When loaded with fabric api if a mod registers an overly high cook time, this code is ran causing Item.toString() to be ran, resulting into a call of Registries.ITEM.getEntry(this).getIdAsString() which seems to incorrectly have returned a null entry as of a result of this mixin

here's the relevant stacktrace, and here's the full latest.log with my mod alchemist which registers a few fuel items above what the vanilla furnace can handle, in a dev enviroment that includes both alchemist and owo-lib via modrinth maven, a standalone server seems to work.