Describe the Bug 🐜
When you call lookupName on an account username that does not have any NameMC records, no stack trace is thrown and the entire script seems to just die.
To Reproduce
Call lookupName on an account without NameMC records. To replicate my environment, you can try testing against the username: mattrix1516.
Call Stack
No call stack was thrown. The entire caller script seems to just exit. Not sure if that's just due to my own piss-poor code writing or if it's something to do with the library, though.
Expected Behavior
The function should return undefined or null if no valid playerData could be found from nameMC.
Describe the Bug 🐜 When you call
lookupName
on an account username that does not have any NameMC records, no stack trace is thrown and the entire script seems to just die.To Reproduce Call
lookupName
on an account without NameMC records. To replicate my environment, you can try testing against the username:mattrix1516
.Call Stack No call stack was thrown. The entire caller script seems to just exit. Not sure if that's just due to my own piss-poor code writing or if it's something to do with the library, though.
Expected Behavior The function should return
undefined
ornull
if no valid playerData could be found from nameMC.