1
0

Fixed style.

This commit is contained in:
madmaxoft 2014-09-01 13:33:17 +02:00
parent 468c2558d6
commit 1e60265a90

View File

@ -189,6 +189,7 @@ void cCommandBlockEntity::SaveToJson(Json::Value & a_Value)
void cCommandBlockEntity::Execute()
{
ASSERT(m_World != NULL); // Execute should not be called before the command block is attached to a world
if (!m_World->AreCommandBlocksEnabled())
{
return;