diff --git a/Minecraft.Client/PlayerConnection.cpp b/Minecraft.Client/PlayerConnection.cpp index 6319b660..1fb7c398 100644 --- a/Minecraft.Client/PlayerConnection.cpp +++ b/Minecraft.Client/PlayerConnection.cpp @@ -1631,8 +1631,10 @@ bool PlayerConnection::isDisconnected() void PlayerConnection::handleDebugOptions(shared_ptr packet) { - //Player player = dynamic_pointer_cast( player->shared_from_this() ); - player->SetDebugOptions(packet->m_uiVal); +#ifdef _DEBUG + // Player player = dynamic_pointer_cast( player->shared_from_this() ); + player->SetDebugOptions(packet->m_uiVal); +#endif } void PlayerConnection::handleCraftItem(shared_ptr packet)