Skip to content

Commit

Permalink
send the message not get the message
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jul 28, 2024
1 parent a8432f3 commit a6d0774
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}});
Expand All @@ -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);
}});
Expand Down

0 comments on commit a6d0774

Please sign in to comment.