mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-15 04:31:20 +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.Scoreboard;
|
||||||
import org.bukkit.scoreboard.Team;
|
import org.bukkit.scoreboard.Team;
|
||||||
|
|
||||||
|
import com.google.common.collect.Sets;
|
||||||
|
|
||||||
public class NPCScoreboard extends Trait {
|
public class NPCScoreboard extends Trait {
|
||||||
private Set<Objective> objectives;
|
private final Set<Objective> objectives = Sets.newHashSet();
|
||||||
private Scoreboard scoreboard;
|
private Scoreboard scoreboard;
|
||||||
private String team;
|
private String team;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user