party leave interact
This commit is contained in:
parent
018c8921e5
commit
6828c6267c
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user