Allow Pacifists to Use Bola (#37188)

This commit is contained in:
Cojoke
2025-05-06 11:55:00 -05:00
committed by GitHub
parent c0935e5b59
commit 02c2de3ec5
2 changed files with 0 additions and 8 deletions

View File

@@ -52,7 +52,6 @@ public abstract class SharedEnsnareableSystem : EntitySystem
SubscribeLocalEvent<EnsnaringComponent, StepTriggerAttemptEvent>(AttemptStepTrigger);
SubscribeLocalEvent<EnsnaringComponent, StepTriggeredOffEvent>(OnStepTrigger);
SubscribeLocalEvent<EnsnaringComponent, ThrowDoHitEvent>(OnThrowHit);
SubscribeLocalEvent<EnsnaringComponent, AttemptPacifiedThrowEvent>(OnAttemptPacifiedThrow);
}
protected virtual void OnEnsnareInit(Entity<EnsnareableComponent> ent, ref ComponentInit args)
@@ -187,11 +186,6 @@ public abstract class SharedEnsnareableSystem : EntitySystem
}
}
private void OnAttemptPacifiedThrow(Entity<EnsnaringComponent> ent, ref AttemptPacifiedThrowEvent args)
{
args.Cancel("pacified-cannot-throw-snare");
}
private void OnRemoveEnsnareAlert(Entity<EnsnareableComponent> ent, ref RemoveEnsnareAlertEvent args)
{
if (args.Handled)