Add a check for translates

This commit is contained in:
libraryaddict 2017-07-02 17:12:39 +12:00
parent 0d4692c2af
commit c8159e8963

View file

@ -123,8 +123,8 @@ public enum TranslateType {
}
public String reverseGet(String translated) {
if (translated == null)
return null;
if (translated == null || !LibsPremium.isPremium() || !DisguiseConfig.isUseTranslations())
return translated;
String lowerCase = translated.toLowerCase();