only check uuid if account is java
All checks were successful
deploy / build-and-deploy (push) Successful in 27s

This commit is contained in:
2025-12-03 17:05:04 +01:00
parent d4693c0d26
commit 1d6444350d

View File

@@ -50,7 +50,8 @@ export const signup = {
}); });
} }
let uuid; let uuid = null;
if (input.edition == 'java') {
try { try {
uuid = await getJavaUuid(input.username); uuid = await getJavaUuid(input.username);
} catch (_) { } catch (_) {
@@ -59,6 +60,7 @@ export const signup = {
message: `Es wurde kein Minecraft Java Account mit dem Username ${input.username} gefunden` message: `Es wurde kein Minecraft Java Account mit dem Username ${input.username} gefunden`
}); });
} }
}
// check if user is blocked // check if user is blocked
if (uuid) { if (uuid) {