diff --git a/src/main/kotlin/org/cobalt/module/impl/visual/PlayerESP.kt b/src/main/kotlin/org/cobalt/module/impl/visual/PlayerESP.kt index 05e693e..f544b4e 100644 --- a/src/main/kotlin/org/cobalt/module/impl/visual/PlayerESP.kt +++ b/src/main/kotlin/org/cobalt/module/impl/visual/PlayerESP.kt @@ -36,7 +36,7 @@ object PlayerESP : Module(name = "PlayerESP", category = ModuleCategory.VISUAL) get() = EspType.fromOptionIndex(espType) fun shouldOutline(entity: Entity): Boolean { - if (espTypeMode != EspType.OUTLINE && espTypeMode != EspType.BEAM_AND_OUTLINE) { + if ((espTypeMode != EspType.OUTLINE && espTypeMode != EspType.BEAM_AND_OUTLINE) || !enabled) { return false }