summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-08 22:04:53 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-08 22:04:53 +0200
commitebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471 (patch)
tree72b4ce84c1adc8c1b173dbba35f86f207e095fca
parentSend the old slab to the client when the interact cancelled. (diff)
downloadcuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar.gz
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar.bz2
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar.lz
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar.xz
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.tar.zst
cuberite-ebfc0fdc676eb4e0e99fc59ab6da6919fa2ef471.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockSlab.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Blocks/BlockSlab.h b/src/Blocks/BlockSlab.h
index 28fdbe7af..49f00c88c 100644
--- a/src/Blocks/BlockSlab.h
+++ b/src/Blocks/BlockSlab.h
@@ -119,6 +119,9 @@ public:
return;
}
+ /* Sends the slab back to the client.
+ The normal back sending adds the block face to the locations, but this don't work because the Y-Coordinate with the block face
+ is one higher than the real slab position. */
a_Player->GetWorld()->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);
}