Clone location to prevent modification

This commit is contained in:
ceze88 2023-07-08 11:19:06 +02:00
parent 31f517c436
commit 7481c25d52

View File

@ -111,7 +111,7 @@ public class BlockStackImpl implements BlockStack {
@Override
public Location getLocation() {
return location;
return this.location.clone();
}
@Override