aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/mojang.js2
-rw-r--r--src/mojang.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/mojang.js b/build/mojang.js
index 7994cee..934b14f 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -87,7 +87,7 @@ async function profileFromUsernameAlternative(username) {
return { uuid: null, username: null };
}
return {
- uuid: data.uuid,
+ uuid: util_1.undashUuid(data.uuid),
username: data.username
};
}
diff --git a/src/mojang.ts b/src/mojang.ts
index 60438e8..1bc8474 100644
--- a/src/mojang.ts
+++ b/src/mojang.ts
@@ -103,7 +103,7 @@ export async function profileFromUsernameAlternative(username: string): Promise<
return { uuid: null, username: null }
}
return {
- uuid: data.uuid,
+ uuid: undashUuid(data.uuid),
username: data.username
}
}