forked from noxious/server
Added getter & setter functions to all entities
This commit is contained in:
@ -64,7 +64,7 @@ export class CharacterService {
|
||||
character.positionX = positionX
|
||||
character.positionY = positionY
|
||||
character.rotation = rotation
|
||||
character.zone = await ZoneRepository.getById(zoneId) as Zone
|
||||
character.zone = (await ZoneRepository.getById(zoneId)) as Zone
|
||||
|
||||
await character.save()
|
||||
|
||||
|
Reference in New Issue
Block a user