Clone the returned getRegion on BlockArrayClipboard (#2144)

This commit is contained in:
Maddy Miller 2022-07-16 15:39:26 +10:00 committed by GitHub
parent 298b641a8b
commit d7b3c4c099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ public BlockArrayClipboard(Region region) {
@Override
public Region getRegion() {
return region;
return region.clone();
}
@Override