Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 30, 2014
1 parent 0bafd56 commit 7d25553
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/net/citizensnpcs/trait/NPCScoreboard.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.scoreboard.Team;

import com.google.common.collect.Sets;

public class NPCScoreboard extends Trait {
private Set<Objective> objectives;
private final Set<Objective> objectives = Sets.newHashSet();
private Scoreboard scoreboard;
private String team;

Expand Down

0 comments on commit 7d25553

Please sign in to comment.