1
0

BlockBed.cpp: Fixed space at if statement

Added a space after an if statement and before the first bracket to keep up code conventions.
This commit is contained in:
TheJumper 2014-02-20 17:31:38 +01:00
parent c2277c6fee
commit 1b081a0fbb

View File

@ -63,7 +63,7 @@ void cBlockBedHandler::OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface
if (a_WorldInterface.GetTimeOfDay() > 13000) if (a_WorldInterface.GetTimeOfDay() > 13000)
{ {
NIBBLETYPE Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ); NIBBLETYPE Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
if(Meta & 0x4) if (Meta & 0x4)
{ {
a_Player->SendMessageFailure("This bed is occupied."); a_Player->SendMessageFailure("This bed is occupied.");
} }