diff --git a/src/main/java/rip/tilly/bedwars/commands/party/InfoCommand.java b/src/main/java/rip/tilly/bedwars/commands/party/InfoCommand.java index 60a1111..a17b023 100644 --- a/src/main/java/rip/tilly/bedwars/commands/party/InfoCommand.java +++ b/src/main/java/rip/tilly/bedwars/commands/party/InfoCommand.java @@ -20,6 +20,7 @@ public class InfoCommand extends BaseCommand { Player player = (Player) sender; if (this.main.getPartyManager().getParty(player.getUniqueId()) == null) { + player.sendMessage(CC.translate("&cYou are not in a party!")); return; } diff --git a/src/main/java/rip/tilly/bedwars/managers/party/PartyManager.java b/src/main/java/rip/tilly/bedwars/managers/party/PartyManager.java index f32007d..1d1cbfc 100644 --- a/src/main/java/rip/tilly/bedwars/managers/party/PartyManager.java +++ b/src/main/java/rip/tilly/bedwars/managers/party/PartyManager.java @@ -53,9 +53,9 @@ public class PartyManager { public void createPartyInvite(UUID requester, UUID requested) { this.partyInvites.computeIfAbsent(requested, k -> new ArrayList<>()).add(requester); Clickable partyInv = new Clickable( - CC.translate("&d" + Bukkit.getPlayer(requested).getName() + " &ehas invited you to play in their party!"), + CC.translate("&d" + Bukkit.getPlayer(requester).getName() + " &ehas invited you to play in their party!"), CC.translate("&aClick to join the party!"), - "/party accept " + Bukkit.getPlayer(requested).getName() + "/party accept " + Bukkit.getPlayer(requester).getName() ); partyInv.sendToPlayer(Bukkit.getPlayer(requested)); }