mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-13 19:52:05 +01:00
Fix NPE
This commit is contained in:
parent
9a998c149b
commit
94340f15ff
@ -14,8 +14,10 @@ import org.bukkit.scoreboard.Objective;
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user