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) {
|
public void executeAs(CommandSender sender, Command cmd, String label, String[] args) {
|
||||||
Player player = (Player) sender;
|
Player player = (Player) sender;
|
||||||
this.main.getSpawnManager().setSpawnLocation(CustomLocation.fromBukkitLocation(player.getLocation()));
|
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");
|
saveLocation(player, "SPAWN.MAX");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ public class InteractListener implements Listener {
|
|||||||
break;
|
break;
|
||||||
case CREATE_PARTY:
|
case CREATE_PARTY:
|
||||||
this.plugin.getPartyManager().createParty(player);
|
this.plugin.getPartyManager().createParty(player);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case COSMETICS_MENU:
|
case COSMETICS_MENU:
|
||||||
// open cosmetics menu
|
// open cosmetics menu
|
||||||
@ -95,7 +94,7 @@ public class InteractListener implements Listener {
|
|||||||
// show party info
|
// show party info
|
||||||
break;
|
break;
|
||||||
case PARTY_LEAVE:
|
case PARTY_LEAVE:
|
||||||
// leave party
|
this.plugin.getPartyManager().leaveParty(player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user