Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused obsolete TryGetContainingContainer override #5660

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TemporalOroboros
Copy link
Contributor

@TemporalOroboros TemporalOroboros commented Feb 6, 2025

There are a bunch of existing calls to this method that are compatible with the Entity<T> version which still throw Obsolete warnings because they use an EntityUid and apparently the conversion to an Entity<T> is lower priority.
As a result this fixes ~a dozen obsolete warnings.

Requires space-wizards/space-station-14#34912

Breaking Changes

Any downstreams still using the obsolete version and passing the components separately will need to pack them with the uid now.
Otherwise, if they were relying on the implicit conversion from a different Entity<T> or similar they'll need to use .Owner
If they were just passing an EntityUid they should be fine.

@ArtisticRoomba ArtisticRoomba added the Status: Requires Content PR This PR breaks content and requires both to be merged together. label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Requires Content PR This PR breaks content and requires both to be merged together.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants