mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Fixed entity updating
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user