Clone location in CurrentLocation

This commit is contained in:
fullwall 2013-08-05 14:07:18 +08:00
parent 3e8f888326
commit fbbfd8ef6a

View File

@ -25,7 +25,7 @@ public class CurrentLocation extends Trait {
}
public void setLocation(Location loc) {
this.location = loc;
this.location = loc.clone();
}
@Override