Fixed minor style issues.
This commit is contained in:
parent
6f5aa487ed
commit
95af3eb526
@ -427,7 +427,7 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
|
|||||||
if (a_CanDrop)
|
if (a_CanDrop)
|
||||||
{
|
{
|
||||||
if ((a_Digger != NULL) && (a_Digger->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchantments::enchSilkTouch) > 0))
|
if ((a_Digger != NULL) && (a_Digger->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchantments::enchSilkTouch) > 0))
|
||||||
{
|
{
|
||||||
switch (m_BlockType)
|
switch (m_BlockType)
|
||||||
{
|
{
|
||||||
case E_BLOCK_CAKE:
|
case E_BLOCK_CAKE:
|
||||||
|
@ -451,7 +451,7 @@ void cPlayer::CancelChargingBow(void)
|
|||||||
|
|
||||||
void cPlayer::SetTouchGround(bool a_bTouchGround)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
@ -1514,7 +1514,7 @@ void cPlayer::TossPickup(const cItem & a_Item)
|
|||||||
|
|
||||||
void cPlayer::TossItems(const cItems & a_Items)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -113,8 +113,8 @@ void cRoot::Start(void)
|
|||||||
LOG("--- Started Log ---\n");
|
LOG("--- Started Log ---\n");
|
||||||
|
|
||||||
#ifdef BUILD_ID
|
#ifdef BUILD_ID
|
||||||
LOG("MCServer " BUILD_SERIES_NAME " build id: " BUILD_ID );
|
LOG("MCServer " BUILD_SERIES_NAME " build id: " BUILD_ID);
|
||||||
LOG("from commit id: " BUILD_COMMIT_ID " built at: " BUILD_DATETIME );
|
LOG("from commit id: " BUILD_COMMIT_ID " built at: " BUILD_DATETIME);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cDeadlockDetect dd;
|
cDeadlockDetect dd;
|
||||||
|
Loading…
Reference in New Issue
Block a user