java.lang.Object
org.reprogle.honeypot.common.utils.integrations.LandsAdapter

public class LandsAdapter extends Object
  • Constructor Details

    • LandsAdapter

      public LandsAdapter()
      Construct the LandsIntegration. This constructor is because the LandsIntegration interface must be obtained prior to utilizing the API
  • Method Details

    • isAllowed

      public boolean isAllowed(org.bukkit.entity.Player player, org.bukkit.Location location)
      Checks if a Honeypot is allowed to be placed at the location
      Parameters:
      player - The player who triggered the interaction
      location - The location of the block
      Returns:
      True if the action is allowed (No lands claim surrounding it), false if not OR if the land is unclaimed/lands is not integrated.