feat: actually set the world spawn on /setspawn, close #622

This commit is contained in:
William committed 2024-05-30 01:12:05 +01:00
1 parent 386ea57bbb
commit b555b43968
8 files changed
+48 -7

No files matched your search

@@ -50,6 +50,7 @@ public class SetSpawnCommand extends InGameCommand {
} else {
plugin.setServerSpawn(position);
}
plugin.runSync(() -> plugin.setWorldSpawn(position));
} catch (ValidationException e) {
e.dispatchWarpError(executor, plugin, global.getWarpName());
return;