Init Mojang API pointer

Fixes CID 90583