mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-31 21:48:08 +01:00
Fix TranslatableText
This commit is contained in:
parent
bd3aa9881e
commit
fad0373cb2
@ -10,7 +10,11 @@ public class TranslatableText {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user