Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187)
* Remove IBody, IBodyPart, IMechanism and IMechanismBehavior interfaces * Summary cleanup
This commit is contained in:
@@ -470,7 +470,7 @@ namespace Content.Server.Kitchen.Components
|
||||
{
|
||||
var headCount = 0;
|
||||
|
||||
if (victim.TryGetComponent<IBody>(out var body))
|
||||
if (victim.TryGetComponent<SharedBodyComponent>(out var body))
|
||||
{
|
||||
var headSlots = body.GetSlotsOfType(BodyPartType.Head);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user