1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
This commit is contained in:
TheBusyBiscuit 2020-02-02 20:20:57 +01:00
parent 7057e7fa53
commit 0bb8a11cd9
2 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,8 @@
* Fixed Backpacks being placeable
* Fixed wrong file encoding for translations
* Fixed Minecraft recipes not showing correctly
* Fixed #1428
* Fixed #1435
## Release Candidate 4 (06 Jan 2020)
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#4

View File

@ -39,6 +39,7 @@ public abstract class SlimefunLocalization extends Localization implements Keyed
public String getResearchName(Player p, NamespacedKey key) {
Language language = getLanguage(p);
if (language == null || language.getResearches() == null) return null;
return language.getResearches().getString(key.getNamespace() + "." + key.getKey());
}