3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

RegionIntersection requires List constructor

Dieser Commit ist enthalten in:
dordsor21 2021-10-23 14:09:01 +01:00
Ursprung ae949d607b
Commit 3d70d9e496
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -57,6 +57,17 @@ public class RegionIntersection extends AbstractRegion {
* *
* @param regions a list of regions, which is copied * @param regions a list of regions, which is copied
*/ */
public RegionIntersection(List<Region> regions) {
this(null, regions);
}
/**
* Create a new instance with the included list of regions.
*
* @param regions a list of regions, which is copied
* @deprecated Use {@link #RegionIntersection(List)} to match upstream
*/
@Deprecated(forRemoval = true)
public RegionIntersection(Collection<Region> regions) { public RegionIntersection(Collection<Region> regions) {
this(null, regions); this(null, regions);
} }