Clone location in CurrentLocation

This commit is contained in:
fullwall 2013-08-05 14:07:18 +08:00
parent f16d90e422
commit 71863c9843
1 changed files with 1 additions and 1 deletions

View File

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