forked from Hay1tsme/artemis
fix: proper guest detection maybe
This commit is contained in:
@ -809,7 +809,7 @@ class ChuniBase:
|
||||
upsert = data["upsertUserAll"]
|
||||
user_id = data["userId"]
|
||||
|
||||
if int(user_id) & 281479271677952 == 281479271677952:
|
||||
if int(user_id) & (1 << 48) != 0:
|
||||
self.logger.info("Guest play, ignoring.")
|
||||
return {"returnCode": "1"}
|
||||
|
||||
|
Reference in New Issue
Block a user