summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.cpp
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-23 19:44:58 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-23 19:50:51 +0100
commit2cc597372afddbd798c2a8c2e754b3f9c7a36038 (patch)
treebb5202265e994a69e16041a86e8199563ee6e940 /src/Blocks/BlockBed.cpp
parentBlockBed.cpp: Fixed Multiple people in one bed. (diff)
downloadcuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar.gz
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar.bz2
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar.lz
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar.xz
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.tar.zst
cuberite-2cc597372afddbd798c2a8c2e754b3f9c7a36038.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockBed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockBed.cpp b/src/Blocks/BlockBed.cpp
index 2fa3a7264..3dad4feba 100644
--- a/src/Blocks/BlockBed.cpp
+++ b/src/Blocks/BlockBed.cpp
@@ -63,7 +63,7 @@ void cBlockBedHandler::OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface
if (a_WorldInterface.GetTimeOfDay() > 13000)
{
NIBBLETYPE Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
- if(Meta & 0x4)
+ if (Meta & 0x4)
{
a_Player->SendMessageFailure("This bed is occupied.");
}