summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-10 17:12:08 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-10 17:12:08 +0200
commit938bf1df69ae88ecdd85029d20bfd09d4fbf7618 (patch)
tree7315a14641f4a03f951cf1883c44050bb0f8da12
parentAdded comment. (diff)
downloadcuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar.gz
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar.bz2
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar.lz
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar.xz
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.tar.zst
cuberite-938bf1df69ae88ecdd85029d20bfd09d4fbf7618.zip
-rw-r--r--src/Blocks/BlockSlab.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Blocks/BlockSlab.h b/src/Blocks/BlockSlab.h
index 49f00c88c..e67f0e8b3 100644
--- a/src/Blocks/BlockSlab.h
+++ b/src/Blocks/BlockSlab.h
@@ -119,9 +119,7 @@ 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. */
+ // Sends the slab back to the client. It's to refuse a doubleslab placement.
a_Player->GetWorld()->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);
}