diff options
author | Mat <mail@mathias.is> | 2020-03-19 10:58:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 10:58:20 +0100 |
commit | 599d42e6d3f84cf6a2ca6cfbb421edb379eb3398 (patch) | |
tree | 189ce48e88715b3b7824aaeefc3335afcd63dc6a /src/Entities | |
parent | Change outdated air drag value for arrows (diff) | |
download | cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar.gz cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar.bz2 cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar.lz cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar.xz cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.tar.zst cuberite-599d42e6d3f84cf6a2ca6cfbb421edb379eb3398.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index fafed49a8..249ff42d0 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -198,7 +198,7 @@ void cArrowEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) } } - auto relPos = a_Chunk.RelativeToAbsolute(m_HitBlockPos); + auto relPos = a_Chunk.AbsoluteToRelative(m_HitBlockPos); auto chunk = a_Chunk.GetRelNeighborChunkAdjustCoords(relPos); if (chunk == nullptr) |