mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-25 14:17:29 -04:00
Use Server.zombie.Running instead of ZombieModeOn, also fix joining a zombie level (not from transferring from the previous level) did not show a join messsage.
This commit is contained in:
parent
c253a84bf7
commit
b4bb5d098a
@ -132,7 +132,8 @@ namespace MCGalaxy.Commands {
|
||||
p.Loading = false;
|
||||
CheckGamesJoin(p, oldLevel);
|
||||
|
||||
if (!p.hidden && p.level.ShouldSaveLevelFile()) {
|
||||
bool showJoin = p.level.ShouldSaveLevelFile() || (oldLevel != null && oldLevel.ShouldSaveLevelFile());
|
||||
if (!p.hidden && showJoin) {
|
||||
Player.SendChatFrom(p, p.color + "*" + p.DisplayName + Server.DefaultColor + " went to &b" + lvl.name, false);
|
||||
Server.IRC.Say(p.color + p.DisplayName + " %rwent to &8" + lvl.name, false, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user