mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
*Cleanup
--HG-- branch : trunk
This commit is contained in:
@@ -4224,8 +4224,8 @@ bool ChatHandler::HandleDieCommand(const char* /*args*/)
|
||||
if( target->isAlive() )
|
||||
{
|
||||
if(sWorld.getConfig(CONFIG_DIE_COMMAND_MODE))
|
||||
m_session->GetPlayer()->Kill(target);
|
||||
else
|
||||
m_session->GetPlayer()->Kill(target);
|
||||
else
|
||||
m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user