fix(Scripts/Commands): inverted display in chat for gm fly (#23222)
This commit is contained in:
@@ -100,8 +100,8 @@ public:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
canFly = handler->GetSession()->GetPlayer()->CanFly();
|
canFly = !handler->GetSession()->GetPlayer()->CanFly();
|
||||||
target->SetCanFly(!canFly);
|
target->SetCanFly(canFly);
|
||||||
}
|
}
|
||||||
|
|
||||||
handler->PSendSysMessage(LANG_COMMAND_FLYMODE_STATUS, handler->GetNameLink(target), canFly ? "on" : "off");
|
handler->PSendSysMessage(LANG_COMMAND_FLYMODE_STATUS, handler->GetNameLink(target), canFly ? "on" : "off");
|
||||||
|
|||||||
Reference in New Issue
Block a user