Fix error

This commit is contained in:
libraryaddict 2021-04-28 17:22:02 +12:00
parent ad1b687f07
commit c1db0a9fa4

View File

@ -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");