Fixes SD-767

This commit is contained in:
TheCreeperCow 2018-12-13 16:38:14 +01:00
parent c8d8fa0928
commit 77d285cf46
No known key found for this signature in database
GPG Key ID: C06A784885981FBD
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -38,7 +38,7 @@
<resources>
<resource>
<directory>main/resources</directory>
<filtering>true</filtering>
<filtering>false</filtering>
</resource>
</resources>
<sourceDirectory>main/java</sourceDirectory>