From fbe0c08c2634e613d3c0decb852983f42a8d3f61 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 16 Feb 2022 18:02:20 +0000 Subject: [PATCH] FAWE HeightMap constructor shouldn't be deprecated --- .../java/com/sk89q/worldedit/math/convolution/HeightMap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/math/convolution/HeightMap.java b/worldedit-core/src/main/java/com/sk89q/worldedit/math/convolution/HeightMap.java index 55f6ce27a..a89380a01 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/math/convolution/HeightMap.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/math/convolution/HeightMap.java @@ -124,9 +124,10 @@ public class HeightMap { } } } + //FAWE end } - @Deprecated + //FAWE start - allow HeightMap creation with data public HeightMap(EditSession session, Region region, int[] data, boolean layers) { this.session = session; this.region = region;