mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Scripts/Commands): inverted display in chat for gm fly (#23222)
This commit is contained in:
@@ -100,8 +100,8 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
canFly = handler->GetSession()->GetPlayer()->CanFly();
|
||||
target->SetCanFly(!canFly);
|
||||
canFly = !handler->GetSession()->GetPlayer()->CanFly();
|
||||
target->SetCanFly(canFly);
|
||||
}
|
||||
|
||||
handler->PSendSysMessage(LANG_COMMAND_FLYMODE_STATUS, handler->GetNameLink(target), canFly ? "on" : "off");
|
||||
|
||||
Reference in New Issue
Block a user