mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 14:38:53 +00:00
feat: actually set the world spawn on /setspawn, close #622
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user