Skip to content

Commit

Permalink
Add a textual confirmation if the kit was given
Browse files Browse the repository at this point in the history
  • Loading branch information
N4th4 committed Feb 24, 2011
1 parent cc54fbb commit eb8a104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/com/bukkit/N4th4/NuxKits/NKPlayerListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ private void giveKit(String kit, String reciver, Player sender) {
NKLogger.severe("Matériel invalide : " + materialsList.get(i));
}
}
sender.sendMessage(ChatColor.RED + "[NuxKits] Le kit " + kit + " a été donné à " + reciver);
} else {
sender.sendMessage("[NuxKits] Le kit " + kit + " n'existe pas");
sender.sendMessage(ChatColor.RED + "[NuxKits] Le kit " + kit + " n'existe pas");
}
} else {
sender.sendMessage("[NuxKits] Le joueur " + reciver + " n'est pas en ligne");
sender.sendMessage(ChatColor.RED + "[NuxKits] Le joueur " + reciver + " n'est pas en ligne");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: NuxKits

main: com.bukkit.N4th4.NuxKits.NuxKits

version: 1.0
version: 1.1

0 comments on commit eb8a104

Please sign in to comment.