We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29d3c0c + 9892428 commit 1efe98aCopy full SHA for 1efe98a
src/main/java/org/mvplugins/multiverse/core/commands/SetSpawnCommand.java
@@ -63,6 +63,7 @@ void onSetSpawnCommand(
63
64
worldManager.getLoadedWorld(location.getWorld())
65
.peek(mvWorld -> mvWorld.setSpawnLocation(location)
66
+ .flatMap(ignore -> worldManager.saveWorldsConfig())
67
.onSuccess(ignore -> issuer.sendMessage(MVCorei18n.SETSPAWN_SUCCESS,
68
Replace.WORLD.with(mvWorld.getName()),
69
Replace.LOCATION.with(prettyLocation(location))))
0 commit comments