mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -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);
|
Level newLvl = ResizeLevel(lvl, x, y, z);
|
||||||
|
if (newLvl == null) { Player.Message(p, "&cError resizing map."); return false; }
|
||||||
LevelActions.Replace(lvl, newLvl);
|
LevelActions.Replace(lvl, newLvl);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user