mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 07:32:03 -07:00
@@ -472,19 +472,10 @@ public class Location implements Cloneable {
|
||||
@Override
|
||||
public Location clone() {
|
||||
try {
|
||||
Location l = (Location) super.clone();
|
||||
|
||||
l.world = world;
|
||||
l.x = x;
|
||||
l.y = y;
|
||||
l.z = z;
|
||||
l.yaw = yaw;
|
||||
l.pitch = pitch;
|
||||
return l;
|
||||
return (Location) super.clone();
|
||||
} catch (CloneNotSupportedException e) {
|
||||
e.printStackTrace();
|
||||
throw new Error(e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user