diff --git a/src/events/map/characterMove.ts b/src/events/map/characterMove.ts
index be9dc85..21248d7 100644
--- a/src/events/map/characterMove.ts
+++ b/src/events/map/characterMove.ts
@@ -50,7 +50,7 @@ export default class CharacterMove extends BaseEvent {
       character.setRotation(CharacterService.calculateRotation(start.positionX, start.positionY, end.positionX, end.positionY))
 
       const mapEventTileRepository = new MapEventTileRepository()
-      const mapEventTile = await mapEventTileRepository.getEventTileByMapIdAndPosition(character.getMap().getId(), Math.floor(end.x), Math.floor(end.y))
+      const mapEventTile = await mapEventTileRepository.getEventTileByMapIdAndPosition(character.getMap().getId(), Math.floor(end.positionX), Math.floor(end.positionY))
 
       if (mapEventTile?.type === 'BLOCK') break
       if (mapEventTile?.type === 'TELEPORT' && mapEventTile.teleport) {
diff --git a/src/repositories/mapEventTileRepository.ts b/src/repositories/mapEventTileRepository.ts
index fa5b861..a6922a2 100644
--- a/src/repositories/mapEventTileRepository.ts
+++ b/src/repositories/mapEventTileRepository.ts
@@ -19,11 +19,7 @@ class MapEventTileRepository extends BaseRepository {
   async getEventTileByMapIdAndPosition(mapId: UUID, positionX: number, positionY: number) {
     try {
       const repository = this.getEntityManager().getRepository(MapEventTile)
-      const result = await repository.findOne({
-        map: mapId,
-        positionX: positionX,
-        positionY: positionY
-      })
+      const result = await repository.findOne({ map: mapId, positionX: positionX, positionY: positionY })
       if (result) result.setEntityManager(this.getEntityManager())
 
       return result