fix: proper guest detection maybe

This commit is contained in:
2024-04-21 19:49:57 +00:00
parent 7a489ce6e7
commit 2537822ec3

View File

@ -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"}