Added @since 1.3.0 tags

This commit is contained in:
tastybento 2019-02-04 23:19:13 -08:00
parent 3ccd19bf9c
commit 0ad8dabba7

View File

@ -245,6 +245,7 @@ public class User {
* @param variables - variables to insert into translated string. Variables go in pairs, for example * @param variables - variables to insert into translated string. Variables go in pairs, for example
* "[name]", "tastybento" * "[name]", "tastybento"
* @return Translated string with colors converted, or the reference if nothing has been found * @return Translated string with colors converted, or the reference if nothing has been found
* @since 1.3.0
*/ */
public String getTranslation(World world, String reference, String... variables) { public String getTranslation(World world, String reference, String... variables) {
// Get translation. // Get translation.
@ -343,6 +344,7 @@ public class User {
* @param variables - CharSequence target, replacement pairs * @param variables - CharSequence target, replacement pairs
* *
* @see Notifier * @see Notifier
* @since 1.3.0
*/ */
public void notify(World world, String reference, String... variables) { public void notify(World world, String reference, String... variables) {
String message = getTranslation(world, reference, variables); String message = getTranslation(world, reference, variables);