Fixed modded gamerule translations

This commit is contained in:
Marcel Konrad
2018-04-11 14:22:32 +02:00
parent abf13e088a
commit 24b2a18a22

View File

@@ -53,6 +53,13 @@ public class ContentGamerules extends Content
@Override
public String translate(String key)
{
String translated = I18n.format(key);
if(!translated.equals(key))
{
return translated;
}
return I18n.format("gui.worldhandler.gamerules.rule." + key);
}