mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
Slight tweak to EntityPlayer to add toString for name+position for error tracking
This commit is contained in:
parent
f040900d3c
commit
131a2c769b
1 changed files with 7 additions and 0 deletions
|
@ -334,4 +334,11 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||||
this.pitch = f2;
|
this.pitch = f2;
|
||||||
this.yaw = f3;
|
this.yaw = f3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Craftbukkit start
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return super.toString() + "(" + name + " at " + locX + "," + locY + "," + locZ + ")";
|
||||||
|
}
|
||||||
|
// Craftbukkit end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue