From 80672f74e73bdf96ffa0937877b1b0ac055829c4 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 27 Feb 2018 02:05:47 +1100 Subject: [PATCH] * --- .../main/java/com/boydti/fawe/util/EditSessionBuilder.java | 2 +- core/src/main/java/com/boydti/fawe/util/WEManager.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java b/core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java index 39418c8b..8aa46462 100644 --- a/core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java +++ b/core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java @@ -148,7 +148,7 @@ public class EditSessionBuilder { } public EditSessionBuilder allowedRegionsEverywhere() { - return allowedRegions(new RegionWrapper[]{RegionWrapper.GLOBAL()}); + return allowedRegions(new Region[]{RegionWrapper.GLOBAL()}); } public EditSessionBuilder autoQueue(@Nullable Boolean autoQueue) { diff --git a/core/src/main/java/com/boydti/fawe/util/WEManager.java b/core/src/main/java/com/boydti/fawe/util/WEManager.java index 07a14490..c18ca413 100644 --- a/core/src/main/java/com/boydti/fawe/util/WEManager.java +++ b/core/src/main/java/com/boydti/fawe/util/WEManager.java @@ -122,7 +122,7 @@ public class WEManager { masks.clear(); regions.clear(); } else { - return regions.toArray(new RegionWrapper[regions.size()]); + return regions.toArray(new Region[regions.size()]); } } for (final FaweMaskManager manager : managers) { @@ -143,7 +143,7 @@ public class WEManager { } else { player.deleteMeta("lastMask"); } - return regions.toArray(new RegionWrapper[regions.size()]); + return regions.toArray(new Region[regions.size()]); }