1
mirror of https://github.com/CarmJos/ScriptItems synced 2026-06-05 04:42:31 +08:00

为玩家更新点击限时

This commit is contained in:
2022-03-13 09:57:23 +08:00
parent e670d5288f
commit d28dc5319e
2 changed files with 2 additions and 2 deletions
@@ -30,11 +30,10 @@ public class PluginConfig {
public static class CoolDown { public static class CoolDown {
public static ConfigValue<Boolean> ENABLE = new ConfigValue<>("cooldown.enable", Boolean.class, false); public static ConfigValue<Boolean> ENABLE = new ConfigValue<>("cooldown.enable", Boolean.class, true);
public static ConfigValue<Long> TIME = new ConfigValue<>("cooldown.time", Long.class, 3000L); public static ConfigValue<Long> TIME = new ConfigValue<>("cooldown.time", Long.class, 3000L);
} }
@@ -55,6 +55,7 @@ public class ItemListener implements Listener {
if (actions == null) return; if (actions == null) return;
actions.execute(player); actions.execute(player);
updateTime(player.getUniqueId());
} }
/** /**