Updated EpicAnchors compatibility.

This commit is contained in:
Brianna 2019-10-11 17:01:32 -04:00
parent 34ae22f8fa
commit 173726bb9f
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ dependencies {
implementation (group: 'com.songoda', name: 'epicspawners', version: '6-pre4')
// EpicAnchors
implementation (group: 'com.songoda', name: 'epicanchors', version: '1.2.5')
implementation (group: 'com.songoda', name: 'EpicAnchors', version: '1.4.2')
// UltimateStacker
implementation (group: 'com.songoda', name: 'ultimatestacker', version: '1.3.1')

View File

@ -518,7 +518,7 @@ public class Interact implements Listener {
return;
if (Bukkit.getPluginManager().isPluginEnabled("EpicAnchors")) {
if (com.songoda.epicanchors.EpicAnchorsPlugin.getInstance().getAnchorManager().getAnchor(block.getLocation()) != null) {
if (com.songoda.epicanchors.EpicAnchors.getInstance().getAnchorManager().getAnchor(block.getLocation()) != null) {
event.setCancelled(true);
return;
}