use depricated snowflake function less
This commit is contained in:
parent
b886e1ad1b
commit
00946b500a
4 changed files with 7 additions and 9 deletions
|
@ -36,8 +36,8 @@ class Member {
|
|||
}
|
||||
this[thing] = memberjson[thing];
|
||||
}
|
||||
if (SnowFlake.getSnowFlakeFromID(this?.id, User)) {
|
||||
this.user = SnowFlake.getSnowFlakeFromID(this.id, User).getObject();
|
||||
if (this.localuser.userMap.has(this?.id)) {
|
||||
this.user = this.localuser.userMap.get(this?.id);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue