1
0
forked from noxious/server

Better logging

This commit is contained in:
Dennis Postma 2025-01-05 01:44:39 +01:00
parent 4a55f47c06
commit 813ddbd8b1

View File

@ -13,7 +13,7 @@ export default class MapListEvent extends BaseEvent {
try {
if (!(await this.isCharacterGM())) return
this.logger.info(`User ${(await this.getCharacter())!.getId()} has created a new map via map editor.`)
this.logger.info(`User ${(await this.getCharacter())!.getId()} has listed maps via map editor.`)
const mapRepository = new MapRepository()
const maps = await mapRepository.getAll()