mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-11-14 06:36:41 +01:00
commit
41cc5ea951
@ -60,12 +60,12 @@ public class EnchanterMenu extends FastInv {
|
||||
|
||||
if (EconomyManager.isEnabled()) {
|
||||
EconomyManager.withdrawBalance(player, ecoCost);
|
||||
instance.getLocale().getMessage("enchanter.success")
|
||||
event.getPlayer().sendMessage(instance.getLocale().getMessage("enchanter.success")
|
||||
.processPlaceholder("group_name", group.getName())
|
||||
.processPlaceholder("group_color", group.getColor())
|
||||
.processPlaceholder("eco_cost", ecoCost)
|
||||
.processPlaceholder("exp_cost", expCost)
|
||||
.sendPrefixedMessage(player);
|
||||
.getPrefixedMessage());
|
||||
}
|
||||
|
||||
changeExp(player, -expCost);
|
||||
|
@ -18,6 +18,9 @@ command:
|
||||
whitescroll:
|
||||
received: '&7You have been given a whitescroll.'
|
||||
gave: '&7You gave &6{player} &7a whitescroll.'
|
||||
blackscroll:
|
||||
received: '&7You have been given a blackscroll.'
|
||||
gave: '&7You gave &6{player} &7a blackscroll.'
|
||||
apply:
|
||||
invaliditem: '&cYou cannot apply &4{enchant}&r &cto this item.'
|
||||
reload: '&7Configuration files reloaded.'
|
||||
|
Loading…
Reference in New Issue
Block a user