[Bleeding] Cleanup clone methods.

This commit is contained in:
Wesley Wolfe
2012-02-14 01:49:06 -06:00
committed by EvilSeph
parent eace91d627
commit 870d10b077
41 changed files with 204 additions and 30 deletions

View File

@@ -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;
}
/**