Fix error
This commit is contained in:
parent
ad1b687f07
commit
c1db0a9fa4
@ -121,7 +121,9 @@ public class DisguiseUtilities {
|
||||
|
||||
team.setOption(Option.COLLISION_RULE, OptionStatus.NEVER);
|
||||
|
||||
team.setColor(disguise.getWatcher().getGlowColor());
|
||||
if (disguise.getWatcher().getGlowColor() != null) {
|
||||
team.setColor(disguise.getWatcher().getGlowColor());
|
||||
}
|
||||
|
||||
if (NmsVersion.v1_13.isSupported()) {
|
||||
team.setPrefix("Colorize");
|
||||
|
Loading…
Reference in New Issue
Block a user