Skip to content

Commit

Permalink
Change method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Aug 4, 2024
1 parent 268f527 commit 66cc1d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void setLanguage(Player player, String language) {
setLanguage(player.getUniqueId(), language);
}

private Component getMessage(Message message, String language, boolean fallbackOnDefaultLanguage, Object... arguments) {
public Component getMessage(Message message, String language, boolean fallbackOnDefaultLanguage, Object... arguments) {
Map<Message, String> languageMessageMap = languages.get(language);
String miniMessageString = languageMessageMap.get(message);

Expand All @@ -130,7 +130,7 @@ private Component getMessage(Message message, String language, boolean fallbackO
return miniMessage.deserialize(String.format(miniMessageString, arguments));
}

private Component getMessage(Message message, String language, Object... arguments) {
public Component getMessage(Message message, String language, Object... arguments) {
return getMessage(message, language, true, arguments);
}

Expand Down

0 comments on commit 66cc1d5

Please sign in to comment.