}
// Detect win conditions
if (playerTeam.getPoints() >= playerTeam.getTeamConfig().resolveInt(TeamConfig.MAXSCORE)) {
player.getServer().getScheduler().runTaskLater(War.war, new Runnable() {
public void run() {
zone.handleScoreCapReached(playerTeam.getName());
}
}, 1L);
} else {
// just added a point
playerTeam.resetSign();