remove braces
This commit is contained in:
parent
b8910130e5
commit
1329fd337e
@ -114,10 +114,11 @@ public final class VillagerOptimizer extends JavaPlugin {
|
|||||||
Files.createDirectories(langDirectory.toPath());
|
Files.createDirectories(langDirectory.toPath());
|
||||||
for (String fileName : getDefaultLanguageFiles()) {
|
for (String fileName : getDefaultLanguageFiles()) {
|
||||||
String localeString = fileName.substring(fileName.lastIndexOf('/') + 1, fileName.lastIndexOf('.'));
|
String localeString = fileName.substring(fileName.lastIndexOf('/') + 1, fileName.lastIndexOf('.'));
|
||||||
if (fancy) { console.sendMessage(Component.text("│ ").style(plugin_style)
|
if (fancy) console.sendMessage(
|
||||||
|
Component.text("│ ").style(plugin_style)
|
||||||
.append(Component.text(" "+localeString).color(NamedTextColor.WHITE).decorate(TextDecoration.BOLD))
|
.append(Component.text(" "+localeString).color(NamedTextColor.WHITE).decorate(TextDecoration.BOLD))
|
||||||
.append(Component.text(" │").style(plugin_style)));
|
.append(Component.text(" │").style(plugin_style)));
|
||||||
} else { logger.info(String.format("Found language file for %s", localeString)); }
|
else logger.info(String.format("Found language file for %s", localeString));
|
||||||
LanguageCache langCache = new LanguageCache(localeString);
|
LanguageCache langCache = new LanguageCache(localeString);
|
||||||
languageCacheMap.put(localeString, langCache);
|
languageCacheMap.put(localeString, langCache);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user