diff --git a/src/main/java/com/badbones69/crazycrates/commands/crates/types/admin/crates/CommandAddItem.java b/src/main/java/com/badbones69/crazycrates/commands/crates/types/admin/crates/CommandAddItem.java index cbf17d052..fe31d88ee 100644 --- a/src/main/java/com/badbones69/crazycrates/commands/crates/types/admin/crates/CommandAddItem.java +++ b/src/main/java/com/badbones69/crazycrates/commands/crates/types/admin/crates/CommandAddItem.java @@ -45,7 +45,7 @@ public void add(Player player, @ArgName("crate") @Suggestion("crates") String cr if (tier != null) { crate.addEditorItem(item, prizeName, tier, chance); - Messages.added_item_with_editor.getMessage(player, new HashMap<>() {{ + Messages.added_item_with_editor.sendMessage(player, new HashMap<>() {{ put("{crate}", crateName); put("{prize}", prizeName); }}); @@ -55,7 +55,7 @@ public void add(Player player, @ArgName("crate") @Suggestion("crates") String cr crate.addEditorItem(item, prizeName, chance); - Messages.added_item_with_editor.getMessage(player, new HashMap<>() {{ + Messages.added_item_with_editor.sendMessage(player, new HashMap<>() {{ put("{crate}", crateName); put("{prize}", prizeName); }});