Fixed a bunch of multiworld issues (entity tracking etc)

This commit is contained in:
Dinnerbone
2011-05-26 22:15:27 +01:00
parent 036f49ddbf
commit 1784e42d5f
5 changed files with 37 additions and 17 deletions

View File

@@ -27,12 +27,14 @@ public class WorldServer extends World implements BlockChangeDelegate {
this.cserver = minecraftserver.server;
this.world = new CraftWorld(this);
this.pvpMode = minecraftserver.pvpMode;
this.manager = new PlayerManager(minecraftserver, dimension, minecraftserver.propertyManager.getInt("view-distance", 10));
}
public final int dimension;
private final CraftWorld world;
private final CraftServer cserver;
public EntityTracker tracker;
public PlayerManager manager;
public CraftWorld getWorld() {
return world;