Shorten Collision Group Team Name
This commit is contained in:
parent
725db2875c
commit
8c364fce2b
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ public class Disguise {
|
||||||
static {
|
static {
|
||||||
if(Main.getInstance().supports(9)) {
|
if(Main.getInstance().supports(9)) {
|
||||||
Scoreboard board = Bukkit.getScoreboardManager().getMainScoreboard();
|
Scoreboard board = Bukkit.getScoreboardManager().getMainScoreboard();
|
||||||
hidden = board.getTeam("KenshinHideAndSeek_CollisionGroup");
|
hidden = board.getTeam("KHS_Collision");
|
||||||
if (hidden == null) {
|
if (hidden == null) {
|
||||||
hidden = board.registerNewTeam("KenshinHideAndSeek_CollisionGroup");
|
hidden = board.registerNewTeam("KHS_Collision");
|
||||||
}
|
}
|
||||||
hidden.setOption(Team.Option.COLLISION_RULE, Team.OptionStatus.NEVER);
|
hidden.setOption(Team.Option.COLLISION_RULE, Team.OptionStatus.NEVER);
|
||||||
hidden.setCanSeeFriendlyInvisibles(false);
|
hidden.setCanSeeFriendlyInvisibles(false);
|
||||||
|
|
Loading…
Reference in a new issue