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

Disable EMC Nameplate changes for singleplayer #45

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

MrFrydae
Copy link
Collaborator

This PR disables the tablist-oriented nameplate changes when in a singleplayer context.

Reason: When in a singleplayer context, the tablist does not exist, so the feature fails to load.

@MrFrydae MrFrydae added the bug Something isn't working label Jun 30, 2024
@MrFrydae MrFrydae self-assigned this Jun 30, 2024
@triphora
Copy link
Owner

This should already be gated by the Util.isOnEMC flag. Is that not working properly?

@MrFrydae
Copy link
Collaborator Author

This should already be gated by the Util.isOnEMC flag. Is that not working properly?

That check does work properly, but its a one way check. When you disconnect from EMC and head into singleplayer, it's still active.

I'll look for a more dynamic approach to this issue.

@triphora
Copy link
Owner

Will merge for stopgap, but that should be fixed in the future

@triphora triphora merged commit 8734053 into 1.21 Jun 30, 2024
2 checks passed
@triphora triphora deleted the disable-singleplayer-nameplate-changes branch June 30, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants