diff --git a/pom.xml b/pom.xml index 14627fd..e56d4ae 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.github.jikoo regionerator Regionerator - 1.5.4.2 + 1.5.6 @@ -15,7 +15,7 @@ com.google.guava guava 21.0 - compile + provided org.spigotmc diff --git a/src/main/java/com/github/jikoo/regionerator/commands/CommandFlag.java b/src/main/java/com/github/jikoo/regionerator/commands/CommandFlag.java index abb5c24..5323f82 100644 --- a/src/main/java/com/github/jikoo/regionerator/commands/CommandFlag.java +++ b/src/main/java/com/github/jikoo/regionerator/commands/CommandFlag.java @@ -1,17 +1,15 @@ package com.github.jikoo.regionerator.commands; -import com.github.jikoo.regionerator.tuple.Triple; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.github.jikoo.regionerator.CoordinateConversions; import com.github.jikoo.regionerator.Regionerator; +import com.github.jikoo.regionerator.tuple.Triple; -import com.sk89q.worldedit.IncompleteRegionException; import com.sk89q.worldedit.LocalSession; import com.sk89q.worldedit.bukkit.WorldEditPlugin; - import com.sk89q.worldedit.regions.Region; import org.bukkit.Bukkit; @@ -149,7 +147,7 @@ private List> getSelectedArea(CommandSender sen Region selection = null; try { selection = session.getSelection(session.getSelectionWorld()); - } catch (IncompleteRegionException e) { + } catch (Exception ignored) { // Ignored - we return anyway. }