From 77d285cf4650b11e4b19da9c9f16a10e1f869c1d Mon Sep 17 00:00:00 2001 From: TheCreeperCow Date: Thu, 13 Dec 2018 16:38:14 +0100 Subject: [PATCH] Fixes SD-767 --- .../songoda/epicheads/command/commands/CommandItemEco.java | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/java/com/songoda/epicheads/command/commands/CommandItemEco.java b/main/java/com/songoda/epicheads/command/commands/CommandItemEco.java index 07e6c27..beeba26 100644 --- a/main/java/com/songoda/epicheads/command/commands/CommandItemEco.java +++ b/main/java/com/songoda/epicheads/command/commands/CommandItemEco.java @@ -12,7 +12,7 @@ import sun.management.Sensor; public class CommandItemEco extends AbstractCommand { public CommandItemEco(AbstractCommand parent) { - super("reload", parent, true); + super("itemeco", parent, true); } @Override @@ -118,7 +118,7 @@ public class CommandItemEco extends AbstractCommand { giveTokens(player, amount); player.sendMessage(instance.getLocale().getMessage("command.itemeco.get", amount)); - sender.sendMessage(instance.getLocale().getMessage("command.itemeco.given", amount)); + sender.sendMessage(instance.getLocale().getMessage("command.itemeco.given", amount).replace("%player%",player.getDisplayName())); return ReturnType.SUCCESS; } diff --git a/pom.xml b/pom.xml index 36482f4..5f7acbd 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ main/resources - true + false main/java