mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 03:05:16 +01:00
Clear the player's home locations when resetting.
This commit is contained in:
parent
dfb67db13f
commit
9782ea1ef9
@ -126,6 +126,10 @@ public class IslandResetCommand extends ConfirmableCommand {
|
||||
|
||||
// Add a reset
|
||||
getPlayers().addReset(getWorld(), user.getUniqueId());
|
||||
|
||||
// Reset the homes of the player
|
||||
getPlayers().clearHomeLocations(getWorld(), user.getUniqueId());
|
||||
|
||||
// Create new island and then delete the old one
|
||||
try {
|
||||
Builder builder = NewIsland.builder()
|
||||
|
Loading…
Reference in New Issue
Block a user