3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 05:20:05 +01:00

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

Dieser Commit ist enthalten in:
Dinnerbone 2011-03-10 00:02:15 +00:00
Ursprung f040900d3c
Commit 131a2c769b

Datei anzeigen

@ -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
} }