Fix /resizelvl erroring stuffing up server. (bots/portals/goto/draw commands all start failing)

This commit is contained in:
UnknownShadow200 2018-02-09 09:42:12 +11:00
parent 7876e046fe
commit 39572d115c

View File

@ -56,6 +56,7 @@ namespace MCGalaxy.Commands.World {
}
Level newLvl = ResizeLevel(lvl, x, y, z);
if (newLvl == null) { Player.Message(p, "&cError resizing map."); return false; }
LevelActions.Replace(lvl, newLvl);
return true;
}