GeckoLib

GeckoLib

155M Downloads

Allow armor renderers with parameters or throw an exception if no 0 params exist

baileyholl opened this issue ยท 0 comments

commented

This is a bit of an odd restriction with the API, and was a bit of a gotcha after I had refactored my renderers to use a generic renderer that takes a model.

If this cannot be changed to allow parameters, the method should at least throw an exception if nothing was registered. Presently, the game will boot as normal and will throw a "unregistered model" exception when hitting F5 with armor. An exception before runtime with a better explanation would be great.