From 12374d45f01a508c6333cc6a9d3d5ee07cd575df Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 10 Aug 2017 20:39:49 +1000 Subject: [PATCH] Remove /reload [name]. --- MCGalaxy/Commands/World/CmdReload.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/MCGalaxy/Commands/World/CmdReload.cs b/MCGalaxy/Commands/World/CmdReload.cs index ddde900a1..2e8fa15dd 100644 --- a/MCGalaxy/Commands/World/CmdReload.cs +++ b/MCGalaxy/Commands/World/CmdReload.cs @@ -39,12 +39,7 @@ namespace MCGalaxy.Commands.World { if (parts[0].CaselessEq("all")) { if (!ReloadAll(p, parts)) return; } else { - Player who = PlayerInfo.FindMatches(p, parts[0]); - if (who == null) return; - if (p != null && who.Rank > p.Rank) { - MessageTooHighRank(p, "reload the map for", true); return; - } - LevelActions.ReloadMap(p, who, true); + LevelActions.ReloadMap(p, p, true); } Server.DoGC(); } @@ -71,7 +66,6 @@ namespace MCGalaxy.Commands.World { public override void Help(Player p) { Player.Message(p, "%T/Reload %H- Reloads the map you are in, just for you."); - Player.Message(p, "%T/Reload [name] %H- Reloads the map for [name]."); Player.Message(p, "%T/Reload all %H- Reloads for all players in map you are in."); Player.Message(p, "%T/Reload all [map] %H- Reloads for all players in [map]"); }