mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-29 12:37:37 +01:00
Added @since 1.3.0 tags
This commit is contained in:
parent
3ccd19bf9c
commit
0ad8dabba7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user