diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2021-11-26 09:25:44 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | 2ec73a3fbd31639a8716cbbaf8910ac50d5fa060 (patch) | |
tree | 5242ecd62f2c0f4a9df40580bce14ee083add85c /src/LineBlockTracer.cpp | |
parent | Fixed Compiler Warnings (diff) | |
download | cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.gz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.bz2 cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.lz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.xz cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.tar.zst cuberite-2ec73a3fbd31639a8716cbbaf8910ac50d5fa060.zip |
Diffstat (limited to 'src/LineBlockTracer.cpp')
-rw-r--r-- | src/LineBlockTracer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineBlockTracer.cpp b/src/LineBlockTracer.cpp index 49eba9ac8..6629e0fb7 100644 --- a/src/LineBlockTracer.cpp +++ b/src/LineBlockTracer.cpp @@ -334,7 +334,7 @@ bool cLineBlockTracer::ChunkCallback(cChunk * a_Chunk) return false; } } - else if (m_Callbacks->OnNextBlockNoData(m_Current, m_CurrentFace)) + else if (m_Callbacks->OnNextBlockNoData(m_Current, static_cast<char>(m_CurrentFace))) { // The callback terminated the trace return false; |