mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
Correct check for command cooldowns list in userdata
This commit is contained in:
parent
215dcde4b9
commit
a4182b5ff9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue