Cooldowns don't expire
JorenCombs opened this issue ยท 0 comments
Was playing around with current MultiHome jar and noticed that, if cooldown is used, after the player has an entry in the cooldown flatfile, the counter will count down to 1 and stay there. They will never be able to /home again.
This appears to be because the CoolDownManager's removeCooldown method is never called, and therefore when MultiHomeCommands checks to see if a player has a cooldown, it will always get one even if the cooldown already expired. As long as the getCooldown does not return null, then the player cannot /home.
-- Joren