mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[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:
parent
b6f6c670ac
commit
af6b589041
11 changed files with 11 additions and 35 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue