From 9604e151f5951b5ca7d2de6e141f63d8ca75ff54 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 16 May 2021 17:54:06 +1200 Subject: [PATCH] Respect the config option --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index d2339e22..2e02a12d 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -119,7 +119,7 @@ public class DisguiseUtilities { 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); }