mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
[ci skip] Update javadoc on BaseHuskHomesAPI#getLocale
This commit is contained in:
1 parent
c2661a7017
commit
06d73c23d1
1 file changed
+3
-1
@@ -411,7 +411,9 @@ public abstract class BaseHuskHomesAPI {
|
||||
* @param localeKey The key of the locale to get
|
||||
* @param replacements Replacement strings to apply to the locale
|
||||
* @return The {@link MineDown}-formatted locale
|
||||
* @since 3.0
|
||||
* @apiNote Since v3.0.4, this method returns a `adventure.MineDown` object, targeting
|
||||
* <a href="https://docs.adventure.kyori.net/">Adventure</a> platforms, rather than a bungee components object.
|
||||
* @since 3.0.4
|
||||
*/
|
||||
public final Optional<MineDown> getLocale(@NotNull String localeKey, @NotNull String... replacements) {
|
||||
return plugin.getLocales().getLocale(localeKey, replacements);
|
||||
|
||||
Reference in new issue
Block a user