party leave interact

This commit is contained in:
Luca 2021-11-21 21:14:50 +01:00
parent 018c8921e5
commit 6828c6267c
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ public class MaxCommand extends BaseCommand {
public void executeAs(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
this.main.getSpawnManager().setSpawnLocation(CustomLocation.fromBukkitLocation(player.getLocation()));
player.sendMessage(ChatColor.GREEN + "Successfully set the spawn min location.");
player.sendMessage(ChatColor.GREEN + "Successfully set the spawn max location.");
saveLocation(player, "SPAWN.MAX");
}

View File

@ -79,7 +79,6 @@ public class InteractListener implements Listener {
break;
case CREATE_PARTY:
this.plugin.getPartyManager().createParty(player);
break;
case COSMETICS_MENU:
// open cosmetics menu
@ -95,7 +94,7 @@ public class InteractListener implements Listener {
// show party info
break;
case PARTY_LEAVE:
// leave party
this.plugin.getPartyManager().leaveParty(player);
break;
}
break;