mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-25 09:41:23 +01:00
Copy spawn location when cloning world
This commit is contained in:
parent
c0f2168ba4
commit
58c13c1f73
@ -531,6 +531,9 @@ public class WorldManager {
|
||||
})
|
||||
.onSuccess(newWorld -> {
|
||||
cloneWorldTransferData(options, newWorld);
|
||||
if (options.keepWorldConfig()) {
|
||||
newWorld.setSpawnLocation(options.world().getSpawnLocation());
|
||||
}
|
||||
saveWorldsConfig();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user