This commit is contained in:
Zaxiure
2024-09-20 21:58:38 +02:00
parent b772ade582
commit ed92663313
27 changed files with 117 additions and 68 deletions

View File

@ -31,7 +31,7 @@ class CharacterManager {
}
public getCharacterFromSocket(socket: TSocket) {
return this.characters.find((x) => x.id === socket?.character?.id)
return this.characters.find((x) => x.id === socket?.characterId)
}
public getCharactersInZone(zone: Zone) {