mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Lowercase disabled methods
This commit is contained in:
parent
56ee3e5227
commit
a0e2428fae
@ -708,7 +708,7 @@ public class DisguiseConfig {
|
||||
DisguiseUtilities.getLogger().warning("Cannot load 'DisabledDisguises' in features.yml, invalid disguise types provided?");
|
||||
}
|
||||
|
||||
setDisabledMethods(config.getStringList("DisabledMethods"));
|
||||
setDisabledMethods(config.getStringList("DisabledMethods").stream().map(s -> s.toLowerCase(Locale.ROOT)).collect(Collectors.toList()));
|
||||
|
||||
setNeverUpdateProtocolLib(config.getBoolean("NeverUpdateProtocolLib", false));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user