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 many WorldManager issues #3702

Merged
merged 11 commits into from
Aug 22, 2022
Merged

Conversation

Yeregorix
Copy link
Member

@Yeregorix Yeregorix commented Jun 2, 2022

Affected API methods are : World#save, WorldManager#loadProperties, WorldManager#loadWorld, WorldManager#copyWorld and WorldManager#moveWorld. See the commit descriptions for more details.

I also added json indentation when writing templates so it's easier to edit as some server owners may want to edit generation settings.

One problem persists: renaming or copying from a vanilla world to a custom world does not work because custom worlds need a template and vanilla worlds don't have templates.

@Yeregorix Yeregorix changed the title Fix several WorldManager issues Fix many WorldManager issues Jun 19, 2022
@Zidane Zidane merged commit 11424e2 into SpongePowered:api-8 Aug 22, 2022
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.

2 participants