refactor(i18n): remove array type declaration
This commit is contained in:
parent
e360d5c8a7
commit
2447c08636
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public class I18N {
|
|||
|
||||
if (name == null) {
|
||||
logger.warning(nameKey + " doesn't exists! Please translate this entry.");
|
||||
return new ItemTranslation(nameKey, new ArrayList<String>() {{
|
||||
return new ItemTranslation(nameKey, new ArrayList<>() {{
|
||||
add(loreKey);
|
||||
}});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue