forked from noxious/server
Converted more events
This commit is contained in:
@ -16,7 +16,7 @@ class MapCharacter {
|
||||
}
|
||||
|
||||
public async savePosition() {
|
||||
await this.character.setPositionX(this.character.positionX).setPositionY(this.character.positionY).setRotation(this.character.rotation).setMap(this.character.map).update()
|
||||
await this.character.setPositionX(this.character.positionX).setPositionY(this.character.positionY).setRotation(this.character.rotation).setMap(this.character.map).save()
|
||||
}
|
||||
|
||||
public async teleport(mapId: number, targetX: number, targetY: number): Promise<void> {
|
||||
|
Reference in New Issue
Block a user