mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-06 13:59:45 +00:00
mfw i forget clone()
This commit is contained in:
parent
61d027badf
commit
98be92ed0c
|
|
@ -184,6 +184,8 @@ public class Location
|
|||
return this;
|
||||
}
|
||||
|
||||
public Location clone() => new Location(LocationWorld, X, Y, Z, Yaw, Pitch);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override string ToString() => $"Location(world={LocationWorld}, x={X}, y={Y}, z={Z}, yaw={Yaw}, pitch={Pitch})";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue