mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Don't show 'X went to level' for /os go when server has load on goto enabled.
This commit is contained in:
parent
f020920ba5
commit
329fdb24e9
@ -59,7 +59,7 @@ namespace MCGalaxy.Commands {
|
|||||||
|
|
||||||
Level[] loaded = LevelInfo.Loaded.Items;
|
Level[] loaded = LevelInfo.Loaded.Items;
|
||||||
if (LevelInfo.FindExact(map) == null)
|
if (LevelInfo.FindExact(map) == null)
|
||||||
CmdLoad.LoadLevel(p, map);
|
CmdLoad.LoadLevel(p, map, Server.AutoLoad);
|
||||||
if (LevelInfo.FindExact(map) != null)
|
if (LevelInfo.FindExact(map) != null)
|
||||||
PlayerActions.ChangeMap(p, map);
|
PlayerActions.ChangeMap(p, map);
|
||||||
} else if (cmd == "LB" || cmd == "LEVELBLOCK") {
|
} else if (cmd == "LB" || cmd == "LEVELBLOCK") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user