diff --git a/Commands/World/CmdResizeLvl.cs b/Commands/World/CmdResizeLvl.cs index 272646b91..1646bf57e 100644 --- a/Commands/World/CmdResizeLvl.cs +++ b/Commands/World/CmdResizeLvl.cs @@ -47,7 +47,7 @@ namespace MCGalaxy.Commands.World { bool confirmed = args.Length > 4 && args[4].CaselessEq("confirm"); if (!confirmed && (x < lvl.Width || y < lvl.Height || z < lvl.Length)) { Player.Message(p, "New level dimensions are smaller than the current dimensions, &cyou will lose blocks%S."); - Player.Message(p, "Type %T/resizelvl {0} {1} {2} {3} confirm %Sif you are sure.", args[0], x, y, z); + Player.Message(p, "Type %T/resizelvl {0} {1} {2} {3} confirm %Sif you're sure.", args[0], x, y, z); return; } diff --git a/Levels/LevelActions.cs b/Levels/LevelActions.cs index dd585ada7..b72c70b05 100644 --- a/Levels/LevelActions.cs +++ b/Levels/LevelActions.cs @@ -145,7 +145,10 @@ namespace MCGalaxy { pl.level = lvl; ReloadMap(null, pl, false); } + old.Unload(true, false); + if (old == Server.mainLevel) + Server.mainLevel = lvl; } public static void ReloadMap(Player p, Player who, bool showMessage) {