From 8a8b33e7abf140885dbb7bd3e7339bc9ccd310f7 Mon Sep 17 00:00:00 2001 From: Venom983 Date: Mon, 19 Oct 2015 16:16:15 -0400 Subject: [PATCH] Fixed IRC announcing hidden players --- Commands/CmdGoto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/CmdGoto.cs b/Commands/CmdGoto.cs index a11908877..29282096a 100644 --- a/Commands/CmdGoto.cs +++ b/Commands/CmdGoto.cs @@ -130,7 +130,7 @@ namespace MCGalaxy.Commands p.inTNTwarsMap = true; } - Server.IRC.Say(p.color + p.DisplayName + " %rwent to &8" + foundLevel.name, false, true); + if (!p.hidden) { Server.IRC.Say(p.color + p.DisplayName + " %rwent to &8" + foundLevel.name, false, true); } } else Player.SendMessage(p, "The level " + message + " is locked."); }