[CodeFactor] Apply fixes
[ci skip] [skip ci]
This commit is contained in:
parent
212a03fb1b
commit
21ad2644c6
@ -6,7 +6,7 @@ import Session from "../kcp/Session";
|
||||
export default async function handle(session: Session, packet: Packet) {
|
||||
const body = packet.body as DressAvatarCsReq;
|
||||
|
||||
let avatar = await Avatar.loadAvatarForPlayer(session.player, body.baseAvatarId);
|
||||
const avatar = await Avatar.loadAvatarForPlayer(session.player, body.baseAvatarId);
|
||||
|
||||
avatar.db.equipmentUniqueId = body.equipmentUniqueId;
|
||||
await avatar.save();
|
||||
|
Loading…
Reference in New Issue
Block a user