Fixed minor style issues.
parent
6f5aa487ed
commit
95af3eb526
|
@ -427,7 +427,7 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
|
|||
if (a_CanDrop)
|
||||
{
|
||||
if ((a_Digger != NULL) && (a_Digger->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchantments::enchSilkTouch) > 0))
|
||||
{
|
||||
{
|
||||
switch (m_BlockType)
|
||||
{
|
||||
case E_BLOCK_CAKE:
|
||||
|
|
|
@ -451,7 +451,7 @@ void cPlayer::CancelChargingBow(void)
|
|||
|
||||
void cPlayer::SetTouchGround(bool a_bTouchGround)
|
||||
{
|
||||
if (IsGameModeSpectator()) // You can fly through the ground in Spectator
|
||||
if (IsGameModeSpectator()) // You can fly through the ground in Spectator
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -1514,7 +1514,7 @@ void cPlayer::TossPickup(const cItem & a_Item)
|
|||
|
||||
void cPlayer::TossItems(const cItems & a_Items)
|
||||
{
|
||||
if (IsGameModeSpectator()) // Players can't toss items in spectator
|
||||
if (IsGameModeSpectator()) // Players can't toss items in spectator
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -113,8 +113,8 @@ void cRoot::Start(void)
|
|||
LOG("--- Started Log ---\n");
|
||||
|
||||
#ifdef BUILD_ID
|
||||
LOG("MCServer " BUILD_SERIES_NAME " build id: " BUILD_ID );
|
||||
LOG("from commit id: " BUILD_COMMIT_ID " built at: " BUILD_DATETIME );
|
||||
LOG("MCServer " BUILD_SERIES_NAME " build id: " BUILD_ID);
|
||||
LOG("from commit id: " BUILD_COMMIT_ID " built at: " BUILD_DATETIME);
|
||||
#endif
|
||||
|
||||
cDeadlockDetect dd;
|
||||
|
|
Loading…
Reference in New Issue