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

Worlds not saving when unloaded #169

Open
fierceeo opened this issue Sep 27, 2020 · 1 comment
Open

Worlds not saving when unloaded #169

fierceeo opened this issue Sep 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@fierceeo
Copy link

fierceeo commented Sep 27, 2020

Describe the issue
Worlds are not saving when unloaded. If you use the method Bukkit.unloadWorld(world, true) where "world" is the world name, it unloads the world but doesn't save it, and when you run the command /swm unload world it doesn't save the world either.

The worlds.yml file for this world looks like this

e54bb1e5-ee8d-44a5-8ebd-a44daf8c8dbd:
    source: file
    spawn: 0, 64, 0
    difficulty: peaceful
    allowMonsters: true
    allowAnimals: true
    pvp: true
    environment: NORMAL
    worldType: DEFAULT
    loadOnStartup: false
    readOnly: false

Note: I have tested this issue on multiple worlds, some other worlds are:

test:
    source: file
    spawn: 0, 64, 0
    difficulty: peaceful
    allowMonsters: true
    allowAnimals: true
    pvp: true
    environment: NORMAL
    worldType: DEFAULT
    loadOnStartup: true
    readOnly: false

Spigot version
Tuinity 1.16.2 git-Tuinity-0b86de3
Plugin version
v2.3.0-SNAPSHOT
How to reproduce
do /swm create test file, /swm goto test, place some blocks in the test world, /swm unload test, /swm load test, /swm goto test. You will then see the blocks are missing.
Crash reports (if available)
N/A

@fierceeo fierceeo added the bug Something isn't working label Sep 27, 2020
@fierceeo
Copy link
Author

For some reason, when I restart the server, the world saves.

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

No branches or pull requests

1 participant