diff --git a/src/main/java/me/SuperRonanCraft/BetterRTP/references/depends/regionPlugins/RTP_HuskTowns.java b/src/main/java/me/SuperRonanCraft/BetterRTP/references/depends/regionPlugins/RTP_HuskTowns.java index e1f34e9..da3874f 100644 --- a/src/main/java/me/SuperRonanCraft/BetterRTP/references/depends/regionPlugins/RTP_HuskTowns.java +++ b/src/main/java/me/SuperRonanCraft/BetterRTP/references/depends/regionPlugins/RTP_HuskTowns.java @@ -4,19 +4,12 @@ import org.bukkit.Location; public class RTP_HuskTowns implements RegionPluginCheck { - - private final BukkitHuskTownsAPI huskTownsAPI; - - public RTP_HuskTowns() { - this.huskTownsAPI = BukkitHuskTownsAPI.getInstance(); - } - @Override public boolean check(Location loc) { boolean result = true; if (REGIONPLUGINS.HUSKTOWNS.isEnabled()) { try { - result = !huskTownsAPI.getClaimAt(loc).isPresent(); + result = !BukkitHuskTownsAPI.getInstance().getClaimAt(loc).isPresent(); } catch (Exception e) { e.printStackTrace(); }