mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-06-30 08:24:48 +02:00
Clone location in CurrentLocation
This commit is contained in:
parent
3e8f888326
commit
fbbfd8ef6a
|
@ -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
Block a user