public boolean checkLastInteraction(Claim claim, User user) {
    if (this.lastInteractResult
        && ((SpongeImpl.getServer().getTickCounter() - this.lastTickCounter) <= 2)) {
      if (user != null
          && user.getUniqueId().equals(this.playerID)
          && (claim.getID().equals(this.lastInteractClaim) || claim.isWildernessClaim())) {
        return true;
      }
    }

    return false;
  }
 public void setLastInteractData(Claim claim) {
   this.lastInteractResult = true;
   this.lastInteractClaim = claim.getID();
   this.lastTickCounter = SpongeImpl.getServer().getTickCounter();
 }