diff --git a/src/main/java/rip/tilly/bedwars/commands/setspawn/MaxCommand.java b/src/main/java/rip/tilly/bedwars/commands/setspawn/MaxCommand.java index b430c1a..d185db2 100644 --- a/src/main/java/rip/tilly/bedwars/commands/setspawn/MaxCommand.java +++ b/src/main/java/rip/tilly/bedwars/commands/setspawn/MaxCommand.java @@ -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"); } diff --git a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java index 25e2772..11706b3 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java @@ -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;