mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-21 19:42:37 -04:00
Fix zombie survival not setting main level (if set to true in server settings) for first round, fix custom command permissions being lost on server start.
This commit is contained in:
parent
e705ef6d50
commit
6a52d20311
@ -65,6 +65,9 @@ namespace MCGalaxy.Games {
|
||||
if (p.level != CurLevel) continue;
|
||||
PlayerJoinedLevel(p, p.level, p.level);
|
||||
}
|
||||
|
||||
if (ZombieGame.SetMainLevel)
|
||||
Server.mainLevel = CurLevel;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,6 @@ namespace MCGalaxy {
|
||||
//if (lines.Length == 0) ; // this is useless?
|
||||
if (lines[0] == "#Version 2") ReadVersion2(lines, cmdNames);
|
||||
else ReadVersion1(lines, cmdNames);
|
||||
Save(allowedCommands);
|
||||
} else {
|
||||
Save(allowedCommands);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user