Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187)
* Remove IBody, IBodyPart, IMechanism and IMechanismBehavior interfaces * Summary cleanup
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Content.Server.Climbing.Components
|
||||
}
|
||||
|
||||
if (!user.HasComponent<ClimbingComponent>() ||
|
||||
!user.TryGetComponent(out IBody? body))
|
||||
!user.TryGetComponent(out SharedBodyComponent? body))
|
||||
{
|
||||
reason = Loc.GetString("comp-climbable-cant-climb");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user