Clone location in CurrentLocation
This commit is contained in:
parent
f16d90e422
commit
71863c9843
|
@ -25,7 +25,7 @@ public class CurrentLocation extends Trait {
|
|||
}
|
||||
|
||||
public void setLocation(Location loc) {
|
||||
this.location = loc;
|
||||
this.location = loc.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue