mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 00:17:58 +01:00
Fix TranslatableText
This commit is contained in:
parent
bd3aa9881e
commit
fad0373cb2
@ -10,7 +10,11 @@ public class TranslatableText {
|
|||||||
this.arguments = arguments;
|
this.arguments = arguments;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TranslatableText TranslatableText(String code, String... arguments) {
|
public static TranslatableText of(String code) {
|
||||||
|
return new TranslatableText(code, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static TranslatableText of(String code, String... arguments) {
|
||||||
return new TranslatableText(code, arguments);
|
return new TranslatableText(code, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user