only check uuid if account is java
All checks were successful
deploy / build-and-deploy (push) Successful in 27s
All checks were successful
deploy / build-and-deploy (push) Successful in 27s
This commit is contained in:
@@ -50,7 +50,8 @@ export const signup = {
|
||||
});
|
||||
}
|
||||
|
||||
let uuid;
|
||||
let uuid = null;
|
||||
if (input.edition == 'java') {
|
||||
try {
|
||||
uuid = await getJavaUuid(input.username);
|
||||
} catch (_) {
|
||||
@@ -59,6 +60,7 @@ export const signup = {
|
||||
message: `Es wurde kein Minecraft Java Account mit dem Username ${input.username} gefunden`
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// check if user is blocked
|
||||
if (uuid) {
|
||||
|
||||
Reference in New Issue
Block a user