This commit is contained in:
Jesse Boyd 2018-02-27 02:05:47 +11:00
parent d450b8f0bc
commit 80672f74e7
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ public class EditSessionBuilder {
} }
public EditSessionBuilder allowedRegionsEverywhere() { public EditSessionBuilder allowedRegionsEverywhere() {
return allowedRegions(new RegionWrapper[]{RegionWrapper.GLOBAL()}); return allowedRegions(new Region[]{RegionWrapper.GLOBAL()});
} }
public EditSessionBuilder autoQueue(@Nullable Boolean autoQueue) { public EditSessionBuilder autoQueue(@Nullable Boolean autoQueue) {

View File

@ -122,7 +122,7 @@ public class WEManager {
masks.clear(); masks.clear();
regions.clear(); regions.clear();
} else { } else {
return regions.toArray(new RegionWrapper[regions.size()]); return regions.toArray(new Region[regions.size()]);
} }
} }
for (final FaweMaskManager manager : managers) { for (final FaweMaskManager manager : managers) {
@ -143,7 +143,7 @@ public class WEManager {
} else { } else {
player.deleteMeta("lastMask"); player.deleteMeta("lastMask");
} }
return regions.toArray(new RegionWrapper[regions.size()]); return regions.toArray(new Region[regions.size()]);
} }