mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-17 11:18:55 -04:00
Fixed IRC announcing hidden players
This commit is contained in:
parent
fbcaec28c2
commit
8a8b33e7ab
@ -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.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user