Archived
0

TeleportManager

This commit is contained in:
2018-06-23 16:15:09 +03:00
parent 9507914fd9
commit bdfa420830
5 changed files with 77 additions and 5 deletions

View File

@@ -12,6 +12,14 @@ import lombok.Data;
public class Location {
private double x, y, z;
public static Location copyOf(Location location) {
return new Location(
location.x,
location.y,
location.z
);
}
public void set(Location location) {
this.x = location.x;
this.y = location.y;