mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 02:37:34 +02:00
Update premium UUID on verification (Related #208)
This commit is contained in:
@ -113,9 +113,10 @@ public class VerifyResponseTask implements Runnable {
|
|||||||
session.setSkinProperty(properties[0]);
|
session.setSkinProperty(properties[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
session.setUuid(response.get().getId());
|
||||||
session.setVerified(true);
|
session.setVerified(true);
|
||||||
setPremiumUUID(session.getUuid());
|
|
||||||
|
|
||||||
|
setPremiumUUID(session.getUuid());
|
||||||
receiveFakeStartPacket(username);
|
receiveFakeStartPacket(username);
|
||||||
} else {
|
} else {
|
||||||
//user tried to fake a authentication
|
//user tried to fake a authentication
|
||||||
@ -124,7 +125,7 @@ public class VerifyResponseTask implements Runnable {
|
|||||||
, session.getUsername(), socketAddress, serverId);
|
, session.getUsername(), socketAddress, serverId);
|
||||||
}
|
}
|
||||||
} catch (IOException ioEx) {
|
} catch (IOException ioEx) {
|
||||||
disconnect("error-kick", false, "Failed to connect to sessionserver", ioEx);
|
disconnect("error-kick", false, "Failed to connect to session server", ioEx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user