mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-20 02:22:35 +01:00
Actually implement disable friendly invisibles from the config..
This commit is contained in:
parent
127f1acb7f
commit
5dc44fc1bd
@ -184,6 +184,10 @@ public class DisguiseUtilities {
|
||||
team.setOption(Option.COLLISION_RULE, OptionStatus.NEVER);
|
||||
}
|
||||
|
||||
if (DisguiseConfig.isDisableFriendlyInvisibles()) {
|
||||
team.setCanSeeFriendlyInvisibles(false);
|
||||
}
|
||||
|
||||
if (disguise.getWatcher().getGlowColor() != null && disguise.getWatcher().getGlowColor() != team.getColor()) {
|
||||
team.setColor(disguise.getWatcher().getGlowColor());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user