Skip to content

Commit

Permalink
Fix player Getter pos
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin452 committed Mar 22, 2024
1 parent 8d36385 commit d64daea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/entities/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ function getPlayerPosition()
_JPROFILER.push("getPlayerPosition")
_JPROFILER.pop("getPlayerPosition")
return {
x = math.floor(ThePlayer.x + 0.5),
y = math.floor(ThePlayer.y + 0.5),
z = math.floor(ThePlayer.z + 0.5),
x = math.floor(ThePlayer.x),
y = math.floor(ThePlayer.y),
z = math.floor(ThePlayer.z),
}
end

Expand Down

0 comments on commit d64daea

Please sign in to comment.