String configAchievement = "Commands." + args[1];
if (plugin.getPluginConfig().getString(configAchievement + ".Message", null) != null) {
String achievementName = plugin.getPluginConfig().getString(configAchievement + ".Name");
if (!multiCommand && plugin.getPoolsManager().hasPlayerAchievement(player, achievementName)) {
sender.sendMessage(
<BUG>plugin.getChatHeader() + plugin.getPluginLang()
.getString("achievement-already-received",

"The player PLAYER has already received this achievement!")

.replace("PLAYER", args[2]));
return;</BUG>
}

String configAchievement = "Commands." + args[1];
if (plugin.getPluginConfig().getString(configAchievement + ".Message", null) != null) {
String achievementName = plugin.getPluginConfig().getString(configAchievement + ".Name");
if (!multiCommand && plugin.getPoolsManager().hasPlayerAchievement(player, achievementName)) {
sender.sendMessage(
StringUtils.replaceOnce(
plugin.getChatHeader()
+ plugin.getPluginLang().getString("achievement-already-received",
"The player PLAYER has already received this achievement!"),
"PLAYER", args[2]));
return;
}
