From 857090bddebb366bede4c9ea73e8666cde1677c7 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 21 Oct 2021 18:25:36 +0100 Subject: [PATCH] Add meaningful default methods to getMask for region protection --- .../com/fastasyncworldedit/core/regions/FaweMaskManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/regions/FaweMaskManager.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/regions/FaweMaskManager.java index a36a44c29..62f54e49b 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/regions/FaweMaskManager.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/regions/FaweMaskManager.java @@ -30,14 +30,14 @@ public abstract class FaweMaskManager { */ @Deprecated(forRemoval = true) public FaweMask getMask(final Player player, MaskType type) { - return null; + return getMask(player, type, true); } /** * Get a {@link FaweMask} for the given player and {@link MaskType}. If isWhitelist is false, will return a "blacklist" mask. */ public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist) { - return null; + return getMask(player, type); } /**