forked from noxious/server
Cleanup
This commit is contained in:
@ -12,7 +12,7 @@ export default class CharacterMove extends BaseEvent {
|
||||
private async handleEvent(data: any, callback: (response: any) => void): Promise<void> {
|
||||
try {
|
||||
console.log('attack', this.socket.characterId)
|
||||
await this.characterAttackService.attack(this.socket.characterId!)
|
||||
await this.characterAttackService.attack(this.socket.characterId)
|
||||
} catch (error) {
|
||||
this.logger.error('map:character:attack error', error)
|
||||
return callback(false)
|
||||
|
Reference in New Issue
Block a user