mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-18 04:31:40 +01:00
Remove EpicAnchors support from our end.
This commit is contained in:
parent
a748a41313
commit
0c5d5d5a0c
10
pom.xml
10
pom.xml
@ -125,10 +125,6 @@
|
|||||||
<id>jitpack.io</id>
|
<id>jitpack.io</id>
|
||||||
<url>https://jitpack.io</url>
|
<url>https://jitpack.io</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
|
||||||
<id>reserve-repo</id>
|
|
||||||
<url>https://dl.bintray.com/theneweconomy/java/</url>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>sonatype</id>
|
<id>sonatype</id>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||||||
@ -209,12 +205,6 @@
|
|||||||
<version>7.0.1</version>
|
<version>7.0.1</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.songoda</groupId>
|
|
||||||
<artifactId>EpicAnchors</artifactId>
|
|
||||||
<version>1.4.2</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sk89q</groupId>
|
<groupId>com.sk89q</groupId>
|
||||||
<artifactId>worldedit-bukkit</artifactId>
|
<artifactId>worldedit-bukkit</artifactId>
|
||||||
|
@ -318,13 +318,6 @@ public class InteractListeners implements Listener {
|
|||||||
if (plugin.getFileManager().getConfig(new File(plugin.getDataFolder(), "config.yml"))
|
if (plugin.getFileManager().getConfig(new File(plugin.getDataFolder(), "config.yml"))
|
||||||
.getFileConfiguration().getBoolean("Island.Block.EndFrame.Enable")) {
|
.getFileConfiguration().getBoolean("Island.Block.EndFrame.Enable")) {
|
||||||
|
|
||||||
if (Bukkit.getPluginManager().isPluginEnabled("EpicAnchors")) {
|
|
||||||
if (com.songoda.epicanchors.EpicAnchors.getInstance().getAnchorManager().getAnchor(block.getLocation()) != null) {
|
|
||||||
event.setCancelled(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (CompatibleHand.getHand(event) == CompatibleHand.OFF_HAND) return;
|
if (CompatibleHand.getHand(event) == CompatibleHand.OFF_HAND) return;
|
||||||
|
|
||||||
ItemStack is = event.getPlayer().getItemInHand();
|
ItemStack is = event.getPlayer().getItemInHand();
|
||||||
|
Loading…
Reference in New Issue
Block a user