Skip to content

Commit

Permalink
feat: add method to get TranslationManager to the API
Browse files Browse the repository at this point in the history
The method was missing when it shouldn't.
  • Loading branch information
diogotcorreia committed Jul 15, 2024
1 parent 57dd1b0 commit 3443490
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/src/main/java/com/rexcantor64/triton/api/Triton.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.rexcantor64.triton.api.language.LanguageManager;
import com.rexcantor64.triton.api.language.LanguageParser;
import com.rexcantor64.triton.api.language.MessageParser;
import com.rexcantor64.triton.api.language.TranslationManager;
import com.rexcantor64.triton.api.players.LanguagePlayer;
import com.rexcantor64.triton.api.players.PlayerManager;

Expand Down Expand Up @@ -53,6 +54,14 @@ default TritonConfig getConf() {
@Deprecated
LanguageParser getLanguageParser();

/**
* Get the {@link TranslationManager translation manager}.
*
* @return The {@link TranslationManager translation manager}.
* @since 4.0.0
*/
TranslationManager getTranslationManager();

/**
* Get the {@link MessageParser message parser}.
*
Expand Down

0 comments on commit 3443490

Please sign in to comment.