player.sendMessage(plugin.getChatHeader()
+ plugin.getPluginLang().getString("item-reward-received", "You received an item reward:") + " "
+ getItemName(item));
}
if (commandReward.length() > 0) {
<BUG>commandReward = commandReward.replace("PLAYER", player.getName());
</BUG>
String[] commands = commandReward.split("; ");
for (String command : commands) {
plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command);

player.sendMessage(plugin.getChatHeader()
+ plugin.getPluginLang().getString("item-reward-received", "You received an item reward:") + " "
+ getItemName(item));
}
if (commandReward.length() > 0) {
commandReward = StringUtils.replaceOnce(commandReward, "PLAYER", player.getName());
String[] commands = commandReward.split("; ");
for (String command : commands) {
plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command);
