TeleportManager
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user