Correct return type for CuboidRegion#getFaces() upstream compatibility (#1866)

This commit is contained in:
Aeliios 2022-07-03 13:43:13 +02:00 committed by GitHub
parent 902f153929
commit 92518f71be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
*
* @return a new complex region
*/
public RegionIntersection getFaces() {
public Region getFaces() {
BlockVector3 min = getMinimumPoint();
BlockVector3 max = getMaximumPoint();