Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Add some .toString()s
Dieser Commit ist enthalten in:
Ursprung
b3c6a7953d
Commit
e85cabeb4f
@ -124,4 +124,9 @@ public class CraftBlock implements Block {
|
|||||||
public Block getRelative(final int modX, final int modY, final int modZ) {
|
public Block getRelative(final int modX, final int modY, final int modZ) {
|
||||||
return getWorld().getBlockAt(getX() + modX, getY() + modY, getZ() + modZ);
|
return getWorld().getBlockAt(getX() + modX, getY() + modY, getZ() + modZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "CraftBlock{" + "world=" + world + "x=" + x + "y=" + y + "z=" + z + "type=" + type + "data=" + data + '}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,4 +29,9 @@ public class CraftChunk implements Chunk {
|
|||||||
public int getZ() {
|
public int getZ() {
|
||||||
return z;
|
return z;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "CraftChunk{" + "x=" + x + "z=" + z + '}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,4 +36,9 @@ public class CraftPlayer implements Player {
|
|||||||
public EntityPlayerMP getEntity() {
|
public EntityPlayerMP getEntity() {
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "CraftPlayer{" + "name=" + name + '}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren