summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityPlayer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityPlayer.patch')
-rw-r--r--nms-patches/EntityPlayer.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch
index f68760f3..1af4cba5 100644
--- a/nms-patches/EntityPlayer.patch
+++ b/nms-patches/EntityPlayer.patch
@@ -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);
}