Slight tweak to EntityPlayer to add toString for name+position for error tracking

This commit is contained in:
Dinnerbone committed 2011-03-10 00:02:33 +00:00
1 parent f040900d3c
commit 131a2c769b
1 file changed
+7
@@ -334,4 +334,11 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
this.pitch = f2;
this.yaw = f3;
}
// Craftbukkit start
@Override
public String toString() {
return super.toString() + "(" + name + " at " + locX + "," + locY + "," + locZ + ")";
}
// Craftbukkit end
}