mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-22 09:08:03 +01:00
Tiny debug change in locales
This commit is contained in:
parent
614e5d3d5b
commit
bbd959f186
@ -49,7 +49,7 @@ public class BSBLocale {
|
|||||||
/**
|
/**
|
||||||
* Get text from the yml file for this locale
|
* Get text from the yml file for this locale
|
||||||
* @param reference - the YAML node where the text is
|
* @param reference - the YAML node where the text is
|
||||||
* @return Text for this locale reference or "" if the locale or the reference do not exist
|
* @return Text for this locale reference or the reference is nothing has been found
|
||||||
*/
|
*/
|
||||||
public String get(String reference) {
|
public String get(String reference) {
|
||||||
// TODO: add placeholder conversion?
|
// TODO: add placeholder conversion?
|
||||||
@ -65,8 +65,7 @@ public class BSBLocale {
|
|||||||
return plugin.getLocale().get(reference);
|
return plugin.getLocale().get(reference);
|
||||||
}
|
}
|
||||||
plugin.getLogger().severe(reference + " not found in " + languageTag + " or default lang " + Settings.defaultLanguage);
|
plugin.getLogger().severe(reference + " not found in " + languageTag + " or default lang " + Settings.defaultLanguage);
|
||||||
plugin.getLogger().info("DEBUG: " + rb.keySet().toString());
|
return reference; // Return reference for debug purposes, like for the mods.
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user