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: WorldTemplates #2503

Merged
merged 2 commits into from
May 7, 2024
Merged

fix: WorldTemplates #2503

merged 2 commits into from
May 7, 2024

Conversation

gabizou
Copy link
Member

@gabizou gabizou commented May 7, 2024

Sponge | SpongeAPI

This is to support the fixes as we are technically supporting API 10 for a little while longer.

- Expose and unify the data properties between WorldType and
  WorldTypeTemplate

- Remove the type getter from template. This prompts a much larger
  discussion about data packs but templates should never reference their
  actual built type. It is an implementation detail and the API should
  declare these as temporary, lifecycle-like objects.

Signed-off-by: Chris Sanders <zidane@spongepowered.org>
This needs a far better fix in 11 but that comes with looking over DataPack objects as a whole.

Signed-off-by: Chris Sanders <zidane@spongepowered.org>
@gabizou gabizou merged commit 6eee3af into api-10 May 7, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants