Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3210,7 +3210,7 @@ public void EnableEffect(EffectType type, float duration = 0f, bool addDurationI
/// <param name="intensity">The intensity of the effect will be active for.</param>
/// <param name="duration">The amount of time the effect will be active for.</param>
/// <param name="addDurationIfActive">If the effect is already active, setting to <see langword="true"/> will add this duration onto the effect.</param>
/// <returns>return if the effect has been Enable.</returns>
/// <returns>A bool indicating whether the effect was valid and successfully enabled.</returns>
public bool EnableEffect(EffectType type, byte intensity, float duration = 0f, bool addDurationIfActive = false)
=> TryGetEffect(type, out StatusEffectBase statusEffect) && EnableEffect(statusEffect, intensity, duration, addDurationIfActive);

Expand Down