[11955] Remove .hover command

You can use .cast 11010 and .unaura 11010 instead

Thanks to stfx for improving patch and porting it for us :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
machiavelli 2012-04-12 23:06:12 +02:00 committed by Schmoozerd
parent b6f6c670ac
commit af6b589041
11 changed files with 11 additions and 35 deletions

View file

@ -4372,22 +4372,6 @@ bool ChatHandler::HandleExploreCheatCommand(char* args)
return true;
}
bool ChatHandler::HandleHoverCommand(char* args)
{
uint32 flag;
if (!ExtractOptUInt32(&args, flag, 1))
return false;
m_session->GetPlayer()->SetHover(flag);
if (flag)
SendSysMessage(LANG_HOVER_ENABLED);
else
SendSysMessage(LANG_HOVER_DISABLED);
return true;
}
void ChatHandler::HandleCharacterLevel(Player* player, ObjectGuid player_guid, uint32 oldlevel, uint32 newlevel)
{
if(player)