mirror of
https://github.com/songoda/EpicHeads.git
synced 2025-01-24 00:01:41 +01:00
Fixes SD-767
This commit is contained in:
parent
c8d8fa0928
commit
77d285cf46
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user