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 class CommandItemEco extends AbstractCommand {
public CommandItemEco(AbstractCommand parent) { public CommandItemEco(AbstractCommand parent) {
super("reload", parent, true); super("itemeco", parent, true);
} }
@Override @Override
@ -118,7 +118,7 @@ public class CommandItemEco extends AbstractCommand {
giveTokens(player, amount); giveTokens(player, amount);
player.sendMessage(instance.getLocale().getMessage("command.itemeco.get", 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; return ReturnType.SUCCESS;
} }

View File

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