for (Map.Entry<BlockData, AutoRefGoal> entry :
apl.getTeam().getGoalsByObjective().entrySet())
{
BlockData b = entry.getKey();
AutoRefGoal g = entry.getValue();
if (b.matchesBlock(block))
{
if (g.getItemStatus() != AutoRefGoal.ItemStatus.TARGET
&& g.isSatisfied(match)) {
match.addEvent(new TranscriptEvent(match,
TranscriptEvent.EventType.OBJECTIVE_PLACED, String.format(
"%s has placed the %s on the Victory Monument!",
apl.getDisplayName(), b.getDisplayName()), block.getLocation(), apl, b
));