Closed FxMorin closed 6 months ago
Right now the goal is to maintain a singleton instance of the API for use both in mods and also internally with our systems, removing this adds extra complexity that isn't required imo. If you wish to not handle packets when on other server, simply don't pass them through to the API, since this is manually done on a per implementation base anyway
I was more or less wanting to keep it out of the memory if I didn't need to. So I guess ill just use reflection instead.
We should declare the instance ourselves, in order to be able to unregister the HypixelModAPI when not on hypixel. Sadly Hypixel is not the only server.