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) {
|
public String reverseGet(String translated) {
|
||||||
if (translated == null)
|
if (translated == null || !LibsPremium.isPremium() || !DisguiseConfig.isUseTranslations())
|
||||||
return null;
|
return translated;
|
||||||
|
|
||||||
String lowerCase = translated.toLowerCase();
|
String lowerCase = translated.toLowerCase();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user