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

Fix incorrect use of display slot indexes, support getting sidebar display slot by NamedTeamColor #3405

Merged
merged 2 commits into from
May 14, 2021

Conversation

dualspiral
Copy link
Contributor

SpongeAPI | Sponge

This superscedes #3283 (thanks to @thibaulthenry for the initial commit!)

This adds a mapping of ChatFormatting -> SpongeDisplaySlot for use in the findByTeamColor method in the API PR. I don't know if the map itself would be better in Constants as it contains registry references, happy to transplant that if we decide it's better there.

@dualspiral dualspiral merged commit 25435a2 into api-8 May 14, 2021
@dualspiral dualspiral deleted the api8/display-slots branch May 14, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants