remove unneccesary code, and do stuff tm
parent
d1492f152b
commit
0361b799a8
|
@ -58,8 +58,10 @@ public class Litecraft extends Game
|
|||
if (this.world != null)
|
||||
{
|
||||
System.out.println("Saving chunks...");
|
||||
long time = System.currentTimeMillis();
|
||||
this.world.unloadAllChunks();
|
||||
this.getSave().saveGlobalData(this.world.getSeed(), this.player);
|
||||
System.out.println("Saved world in " + (System.currentTimeMillis() - time) + " milliseconds");
|
||||
}
|
||||
engine.cleanup();
|
||||
System.exit(0);
|
||||
|
|
|
@ -40,7 +40,6 @@ public class World implements BlockAccess, WorldGenConstants
|
|||
public World(long seed, int renderSize, Dimension<?> dim, LitecraftSave save)
|
||||
{
|
||||
this.threadPool = new ForkJoinPool(4, ForkJoinPool.defaultForkJoinWorkerThreadFactory, null, true);
|
||||
this.updateLoadedChunks(0, 0, 0);
|
||||
this.dummy = new BlockInstance(Blocks.ANDESITE, new Vector3f(0, 0, 0));
|
||||
this.dummy.setVisible(false);
|
||||
this.chunks = new Long2ObjectArrayMap<>();
|
||||
|
|
Loading…
Reference in New Issue