diff --git a/src/main/java/com/songoda/epicenchants/menus/EnchanterMenu.java b/src/main/java/com/songoda/epicenchants/menus/EnchanterMenu.java index e1761c7..12386c8 100644 --- a/src/main/java/com/songoda/epicenchants/menus/EnchanterMenu.java +++ b/src/main/java/com/songoda/epicenchants/menus/EnchanterMenu.java @@ -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); diff --git a/src/main/resources/en_US.lang b/src/main/resources/en_US.lang index c56e84c..af71e39 100644 --- a/src/main/resources/en_US.lang +++ b/src/main/resources/en_US.lang @@ -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.'