mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 05:05:18 +01:00
Sets spawn island protection ranges to be the max by default.
This commit is contained in:
parent
3f4bd2418f
commit
5ca51f244e
@ -72,6 +72,8 @@ public class AdminSetspawnCommand extends ConfirmableCommand {
|
||||
}
|
||||
getIslands().setSpawn(i);
|
||||
i.setSpawnPoint(World.Environment.NORMAL, user.getLocation());
|
||||
// Set the island's range to the full island space because it is spawn
|
||||
i.setProtectionRange(i.getRange());
|
||||
user.sendMessage("commands.admin.setspawn.success");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user