mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
Clone location to prevent modification
This commit is contained in:
parent
31f517c436
commit
7481c25d52
@ -111,7 +111,7 @@ public class BlockStackImpl implements BlockStack {
|
||||
|
||||
@Override
|
||||
public Location getLocation() {
|
||||
return location;
|
||||
return this.location.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user