Skip to content

Commit 0442651

Browse files
committed
fixed party accept issue
1 parent 072b4be commit 0442651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • bwp-plugin/src/main/java/com/andrei1058/bedwars/proxy/command/party

bwp-plugin/src/main/java/com/andrei1058/bedwars/proxy/command/party/AcceptCMD.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void execute(CommandSender s, String[] args) {
2929
return;
3030
}
3131
if (Bukkit.getPlayer(args[0]) == null || !Bukkit.getPlayer(args[0]).isOnline()) {
32-
p.sendMessage(getMsg(p, Messages.COMMAND_PARTY_INVITE_DENIED_PLAYER_OFFLINE).replace("{player}", args[1]));
32+
p.sendMessage(getMsg(p, Messages.COMMAND_PARTY_INVITE_DENIED_PLAYER_OFFLINE).replace("{player}", args[0]));
3333
return;
3434
}
3535
if (!PartyCommand.getPartySessionRequest().containsKey(Bukkit.getPlayer(args[0]).getUniqueId())) {

0 commit comments

Comments
 (0)