mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 20:16:36 -04:00
Fix /resizelvl erroring stuffing up server. (bots/portals/goto/draw commands all start failing)
This commit is contained in:
parent
7876e046fe
commit
39572d115c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user