use depricated snowflake function less

This commit is contained in:
MathMan05 2024-08-26 13:48:39 -05:00
parent b886e1ad1b
commit 00946b500a
4 changed files with 7 additions and 9 deletions

View file

@ -328,8 +328,7 @@ class Localuser{
break;
case "USER_UPDATE":
if(this.initialized){
const users=SnowFlake.getSnowFlakeFromID(temp.d.id,User).getObject() as User;
console.log(users,temp.d.id)
const users=this.userMap.get(temp.d.id);
if(users){
users.userupdate(temp.d);
}