mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
1 parent
ec40583deb
commit
8bc2cf4969
41 files changed
+204
-30
No files matched your search
@@ -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