@Override
public void claim(IGuild guild) {
if ((guild != null) && (!this.claimedByGuild.isPresent() || !this.claimedByGuild.get().equals(guild))) {
// changed claiming guild
final IWVWObjectiveClaimedEvent event = WVW_MODEL_EVENTS_FACTORY.newObjectiveClaimedEvent(this, guild, this.claimedByGuild);
LOGGER.info(this.getLocation().getLabel(YAGW2APIArenanet.INSTANCE.getCurrentLocale()) + " has been claimed by: " + guild.getName() + " | previous claimed by " + this.claimedByGuild);
this.claimedByGuild = Optional.of(guild);
this.getChannel().post(event);
} else if ((guild == null) && this.claimedByGuild.isPresent()) {
// unclaim (e.g. after capture)