mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-15 12:41:20 +01: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