Reverted object initializer
This commit is contained in:
parent
5aed7ab7ff
commit
142c606a2a
@ -59,7 +59,8 @@ namespace TrueCraft
|
|||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
world = new World("default", new StandardGenerator()) {BlockRepository = Server.BlockRepository};
|
world = new World("default", new StandardGenerator());
|
||||||
|
world.BlockRepository = Server.BlockRepository;
|
||||||
world.Save("world");
|
world.Save("world");
|
||||||
Server.AddWorld(world);
|
Server.AddWorld(world);
|
||||||
Server.Log(LogCategory.Notice, "Generating world around spawn point...");
|
Server.Log(LogCategory.Notice, "Generating world around spawn point...");
|
||||||
|
Reference in New Issue
Block a user