Change ThrowHelper methods to be extensions (#2254)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user