From 60f3224318f6f0a0a78e3b7c76726af81f743f81 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Fri, 13 Nov 2020 22:42:03 +0100 Subject: [PATCH] Deprecate the non-Pattern methods in EditSession and fix a recursion loop eca310cf8f16240fabc0259f4f615cfa2d37909a Co-Authored-By: Matthew Miller --- .../src/main/java/com/sk89q/worldedit/EditSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java index 15325cd47..04031ca97 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java @@ -1326,7 +1326,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { */ @Deprecated public > int makeCuboidFaces(Region region, B block) throws MaxChangedBlocksException { - return makeCuboidFaces(region, block); + return makeCuboidFaces(region, (Pattern) block); } /**