Correct check for command cooldowns list in userdata

This commit is contained in:
AgentTroll 2019-12-18 13:02:37 -08:00 committed by md678685
parent 215dcde4b9
commit a4182b5ff9
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ public abstract class UserData extends PlayerExtension implements IConf {
private Map<Pattern, Long> commandCooldowns;
private Map<Pattern, Long> _getCommandCooldowns() {
if (!config.isConfigurationSection("timestamps.command-cooldowns")) {
if (!config.contains("timestamps.command-cooldowns")) {
return null;
}