mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-10-01 00:27:45 +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) {
|
public void setLocation(Location loc) {
|
||||||
this.location = loc;
|
this.location = loc.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user