Fixed IRC announcing hidden players

This commit is contained in:
Venom983 2015-10-19 16:16:15 -04:00
parent fbcaec28c2
commit 8a8b33e7ab

View File

@ -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.");
}