Fixed entity updating

This commit is contained in:
Dinnerbone
2011-02-06 23:47:44 +00:00
parent 7bdc190637
commit e9b1607fdc
3 changed files with 13 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ public class PlayerManager {
private PlayerList b = new PlayerList();
private List c = new ArrayList();
private MinecraftServer d;
private WorldServer world; // Craftbukkit
public WorldServer world; // Craftbukkit
// Craftbukkit - change of method signature
public PlayerManager(MinecraftServer minecraftserver, WorldServer world) {
@@ -32,7 +32,7 @@ public class PlayerManager {
PlayerInstance playerinstance = (PlayerInstance) this.b.a(k);
if (playerinstance == null && flag) {
playerinstance = new PlayerInstance(this, i, j, world);
playerinstance = new PlayerInstance(this, i, j);
this.b.a(k, playerinstance);
}