Skip to content

Commit

Permalink
Clone the returned getRegion on BlockArrayClipboard (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 authored Jul 16, 2022
1 parent 298b641 commit d7b3c4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public BlockArrayClipboard(Region region) {

@Override
public Region getRegion() {
return region;
return region.clone();
}

@Override
Expand Down

0 comments on commit d7b3c4c

Please sign in to comment.