Core/Commands: Allow GMs to enter water while .gm fly is on

This commit is contained in:
hondacrx
2018-04-06 14:12:32 -04:00
parent f44cee9872
commit b06140607b
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -105,9 +105,15 @@ namespace Game.Chat
string arg = args.NextString().ToLower();
if (arg == "on")
{
target.SetCanFly(true);
target.SetCanTransitionBetweenSwimAndFly(true);
}
else if (arg == "off")
{
target.SetCanFly(false);
target.SetCanTransitionBetweenSwimAndFly(false);
}
else
{
handler.SendSysMessage(CypherStrings.UseBol);