diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-09-24 22:33:39 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2018-09-24 22:33:39 +0200 |
commit | 4727ed20846bb3d1a9eabb27aaaa9c5524129556 (patch) | |
tree | d6206a51db95a15fd3dfadb9691c868fc6bd8bd1 /src/Entities/FallingBlock.cpp | |
parent | Add BurnsInDaylight to Lua API and Monsters.ini (#4295) (diff) | |
download | cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.gz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.bz2 cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.lz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.xz cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.tar.zst cuberite-4727ed20846bb3d1a9eabb27aaaa9c5524129556.zip |
Diffstat (limited to 'src/Entities/FallingBlock.cpp')
-rw-r--r-- | src/Entities/FallingBlock.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/FallingBlock.cpp b/src/Entities/FallingBlock.cpp index cbbb97202..0e03d50ce 100644 --- a/src/Entities/FallingBlock.cpp +++ b/src/Entities/FallingBlock.cpp @@ -71,11 +71,11 @@ void cFallingBlock::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { // Fallen onto a solid block /* - LOGD( - "Sand: Checked below at {%d, %d, %d} (rel {%d, %d, %d}), it's %s, finishing the fall.", - BlockX, BlockY, BlockZ, - BlockX - a_Chunk.GetPosX() * cChunkDef::Width, BlockY, BlockZ - a_Chunk.GetPosZ() * cChunkDef::Width, - ItemTypeToString(BlockBelow).c_str() + FLOGD( + "Sand: Checked below at {0} (rel {1}), it's {2}, finishing the fall.", + Vector3i{BlockX, BlockY, BlockZ}, + cChunkDef::AbsoluteToRelative({BlockX, BlockY, BlockZ}, {a_Chunk.GetPosX(), a_Chunk.GetPosZ()}), + ItemTypeToString(BlockBelow) ); */ |