mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Commands: Allow GMs to enter water while .gm fly is on
This commit is contained in:
@@ -106,9 +106,15 @@ public:
|
||||
|
||||
WorldPacket data;
|
||||
if (strncmp(args, "on", 3) == 0)
|
||||
{
|
||||
target->SetCanFly(true);
|
||||
target->SetCanTransitionBetweenSwimAndFly(true);
|
||||
}
|
||||
else if (strncmp(args, "off", 4) == 0)
|
||||
{
|
||||
target->SetCanFly(false);
|
||||
target->SetCanTransitionBetweenSwimAndFly(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
handler->SendSysMessage(LANG_USE_BOL);
|
||||
|
||||
Reference in New Issue
Block a user