Pierce01 / MinecraftLauncher-core

Lightweight module that downloads and runs Minecraft using javascript / NodeJS
MIT License
356 stars 81 forks source link

Added launch hooks needed by Microsoft authentication #77

Closed Hanro50 closed 3 years ago

Hanro50 commented 3 years ago

Added a optional meta field to the interface IUser that that contains 2 sub-fields

the first of two sub fields contain information about if the account is a mojang or microsoft account. The second contains information stating if a set account is a demo account (I just thought it could be useful)

I also added checks to components/handler.js to use the new field. If the field is absent, a filler value will be used that will make mclc behave as it did before this change.