Change ThrowHelper methods to be extensions (#2254)

This commit is contained in:
DrSmugleaf
2020-10-14 22:41:44 +02:00
committed by GitHub
parent d9b3833577
commit e9d9618c8f
3 changed files with 6 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ namespace Content.Server.GameObjects.EntitySystems
newStackComp.Count = 1;
}
ThrowHelper.ThrowTo(throwEnt, ThrowForce, coords, plyEnt.Transform.Coordinates, false, plyEnt);
throwEnt.ThrowTo(ThrowForce, coords, plyEnt.Transform.Coordinates, false, plyEnt);
return true;
}
@@ -249,7 +249,7 @@ namespace Content.Server.GameObjects.EntitySystems
{
if (!TryGetAttachedComponent(session as IPlayerSession, out HandsComponent handsComp))
return;
handsComp.StopPull();
}