Skip to content

Commit

Permalink
Fix hard WorldEdit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikoo committed Aug 4, 2019
1 parent 17a07ee commit 69ffb7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>com.github.jikoo</groupId>
<artifactId>regionerator</artifactId>
<name>Regionerator</name>
<version>1.5.4.2</version>
<version>1.5.6</version>

<dependencies>
<dependency>
Expand All @@ -15,7 +15,7 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>21.0</version>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -149,7 +147,7 @@ private List<Triple<String, Integer, Integer>> getSelectedArea(CommandSender sen
Region selection = null;
try {
selection = session.getSelection(session.getSelectionWorld());
} catch (IncompleteRegionException e) {
} catch (Exception ignored) {
// Ignored - we return anyway.
}

Expand Down

0 comments on commit 69ffb7d

Please sign in to comment.