format & lint

This commit is contained in:
2025-01-01 04:48:30 +01:00
parent 495e9f192e
commit 9c28b10383
12 changed files with 48 additions and 55 deletions

View File

@ -96,4 +96,4 @@ export default class TeleportCommandEvent extends BaseEvent {
})
}
}
}
}

View File

@ -26,7 +26,7 @@ export default class ChatMessageEvent extends BaseEvent {
const character = zoneCharacter.character
const zone = await ZoneRepository.getById(character.zone?.id!)
const zone = await ZoneRepository.getById(character.zone.id)
if (!zone) {
this.logger.error('chat:message error', 'Zone not found')
return callback(false)