diff --git a/MCGalaxy/Commands/CPE/CmdPing.cs b/MCGalaxy/Commands/CPE/CmdPing.cs index 84b2596ad..f8faf9e5f 100644 --- a/MCGalaxy/Commands/CPE/CmdPing.cs +++ b/MCGalaxy/Commands/CPE/CmdPing.cs @@ -23,7 +23,7 @@ namespace MCGalaxy.Commands.Chatting { public override string type { get { return CommandTypes.Information; } } public override LevelPermission defaultRank { get { return LevelPermission.Guest; } } public override CommandPerm[] ExtraPerms { - get { return new[] { new CommandPerm(LevelPermission.Admin, "+ can see ping of all players") }; } + get { return new[] { new CommandPerm(LevelPermission.Operator, "+ can see ping of all players") }; } } public override void Use(Player p, string message) { diff --git a/MCGalaxy/Commands/Information/CmdHelp.cs b/MCGalaxy/Commands/Information/CmdHelp.cs index 282c79d1b..f5986c2e3 100644 --- a/MCGalaxy/Commands/Information/CmdHelp.cs +++ b/MCGalaxy/Commands/Information/CmdHelp.cs @@ -107,10 +107,10 @@ namespace MCGalaxy.Commands.Info { bool ParseCommand(Player p, string message) { string[] args = message.SplitSpaces(2); - Alias alias = Alias.Find(args[0]); - if (alias != null) args[0] = alias.Target; + string cmdName = args[0], cmdArgs = ""; + Command.Search(ref cmdName, ref cmdArgs); - Command cmd = Command.all.Find(args[0]); + Command cmd = Command.all.FindByName(cmdName); if (cmd == null) return false; if (args.Length == 1) { diff --git a/MCGalaxy/Commands/other/CmdSendCmd.cs b/MCGalaxy/Commands/other/CmdSendCmd.cs index d888412c9..ec048e0f7 100644 --- a/MCGalaxy/Commands/other/CmdSendCmd.cs +++ b/MCGalaxy/Commands/other/CmdSendCmd.cs @@ -39,7 +39,7 @@ namespace MCGalaxy.Commands.Misc { string cmdArgs = parts.Length > 2 ? parts[2] : ""; Command.Search(ref cmdName, ref cmdArgs); - Command cmd = Command.all.Find(cmdName); + Command cmd = Command.all.FindByName(cmdName); if (cmd == null) { Player.Message(p, "Unknown command \"" + cmdName + "\"."); return; } diff --git a/MCGalaxy/Games/ZombieSurvival/ZombieGame.Game.cs b/MCGalaxy/Games/ZombieSurvival/ZombieGame.Game.cs index c96f6c735..b3ff45d5e 100644 --- a/MCGalaxy/Games/ZombieSurvival/ZombieGame.Game.cs +++ b/MCGalaxy/Games/ZombieSurvival/ZombieGame.Game.cs @@ -95,7 +95,7 @@ namespace MCGalaxy.Games { InfectPlayer(p, null); } } - if (RoundInProgress && oldLvl == Map) { + if (RoundInProgress && oldLvl == Map && lvl != Map) { PlayerLeftGame(p); }