Reverted object initializer

This commit is contained in:
Robin Kanters 2015-05-14 15:42:36 +02:00
parent 5aed7ab7ff
commit 142c606a2a

View File

@ -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...");