mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
@@ -49,6 +49,15 @@
|
||||
public EntityPlayer(MinecraftServer minecraftserver, WorldServer worldserver, GameProfile gameprofile, PlayerInteractManager playerinteractmanager) {
|
||||
super(worldserver, gameprofile);
|
||||
playerinteractmanager.player = this;
|
||||
@@ -72,7 +102,7 @@
|
||||
}
|
||||
|
||||
this.server = minecraftserver;
|
||||
- this.bZ = minecraftserver.getPlayerList().a((EntityHuman) this);
|
||||
+ this.bZ = minecraftserver.getPlayerList().getStatisticManager(this); // CraftBukkit
|
||||
this.bY = minecraftserver.getPlayerList().h(this);
|
||||
this.P = 1.0F;
|
||||
this.setPositionRotation(blockposition, 0.0F, 0.0F);
|
||||
@@ -81,6 +111,11 @@
|
||||
this.setPosition(this.locX, this.locY + 1.0D, this.locZ);
|
||||
}
|
||||
|
Reference in New Issue
Block a user