TS >:L
This commit is contained in:
parent
14d296e5a9
commit
785a232776
@ -19,7 +19,7 @@ export default class ChatMessageEvent extends BaseEvent {
|
||||
return callback(false)
|
||||
}
|
||||
|
||||
const mapCharacter = MapManager.getCharacterById(this.socket.characterId)
|
||||
const mapCharacter = MapManager.getCharacterById(this.socket.characterId!)
|
||||
if (!mapCharacter) {
|
||||
this.logger.error('chat:message error', 'Character not found')
|
||||
return callback(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user