Add a check for translates
This commit is contained in:
parent
0d4692c2af
commit
c8159e8963
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user