summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.cpp
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-20 17:31:38 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-20 17:31:38 +0100
commit1b081a0fbbc217ed48830368c6e40b24a7af5358 (patch)
tree2833aae323ecbdd606da3261e7df8ad21a042f6f /src/Blocks/BlockBed.cpp
parentBlockBed.cpp: Fixed Multiple people in one bed. (diff)
downloadcuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar.gz
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar.bz2
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar.lz
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar.xz
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.tar.zst
cuberite-1b081a0fbbc217ed48830368c6e40b24a7af5358.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.");
}