mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Add a check for translates
This commit is contained in:
parent
0d4692c2af
commit
c8159e8963
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue