From 92518f71be5f8eadb9704e4017cbeded32a8499f Mon Sep 17 00:00:00 2001 From: Aeliios <75539311+Aeliios@users.noreply.github.com> Date: Sun, 3 Jul 2022 13:43:13 +0200 Subject: [PATCH] Correct return type for CuboidRegion#getFaces() upstream compatibility (#1866) --- .../src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java b/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java index 4706a1186..26b20cd8c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java @@ -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();