[LabAPI/Command] IHumeShieldProvider::GetForHub() doesn't check if effect implementing this interface is enabled

Version: 14.2.4

Branch: Release (stable) branch

Timestamp: 2026/01/04 23:11:37

Server Name: Local dedicated server

Description

PlayerRoles.PlayableScps.HumeShield.IHumeShieldProvider::GetForHub(ReferenceHub, out bool, out float, out float, out Color?) doesn't check if effect implementing this interface is enabled.

Steps to reproduce

  • Create a custom player effect implementing this interface and register it (I used SecretAPI for that)

  • Observe that after joining the server and starting the round, hume shield properties are applied (even tho effect isn't enabled)

What is supposed to happen

Method should check if effect implementing IHumeShieldProvider is enabled

What actually happens

Method doesn't check that

Attachments