summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-01-14 19:21:10 +0100
committerAlexander Harkness <me@bearbin.net>2022-01-14 20:43:29 +0100
commitda0fdbe113e9b3a5254822a20a8ca2595cd661cb (patch)
treeb12753160572310ac7a6878319cca5afe728e2d6 /src/Entities
parenteblockface (diff)
downloadcuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.gz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.bz2
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.lz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.xz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.zst
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 0ec8b9c5a..de4acc806 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -2344,7 +2344,7 @@ void cPlayer::SendBlocksAround(int a_BlockX, int a_BlockY, int a_BlockZ, int a_R
{
for (int x = a_BlockX - a_Range + 1; x < a_BlockX + a_Range; x++)
{
- blks.emplace_back(x, y, z, E_BLOCK_AIR, NIBBLETYPE(0)); // Use fake blocktype, it will get set later on.
+ blks.emplace_back(x, y, z, E_BLOCK_AIR, static_cast<NIBBLETYPE>(0)); // Use fake blocktype, it will get set later on.
}
}
} // for y