mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Respect the config option
This commit is contained in:
parent
e267d1d344
commit
9604e151f5
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class DisguiseUtilities {
|
||||||
team.setOption(Option.NAME_TAG_VISIBILITY, nameVisible ? OptionStatus.ALWAYS : OptionStatus.NEVER);
|
team.setOption(Option.NAME_TAG_VISIBILITY, nameVisible ? OptionStatus.ALWAYS : OptionStatus.NEVER);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (team.getOption(Option.COLLISION_RULE) != OptionStatus.NEVER) {
|
if (DisguiseConfig.isModifyCollisions() && team.getOption(Option.COLLISION_RULE) != OptionStatus.NEVER) {
|
||||||
team.setOption(Option.COLLISION_RULE, OptionStatus.NEVER);
|
team.setOption(Option.COLLISION_RULE, OptionStatus.NEVER);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue