Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update EssentialsPlayerListener.java -> handlePlayerCommandPreprocess()
no need to recreate a HashMap instance to prevent concurrency since user.getCommandCooldowns() already makes a new HashMap instance the second if condition verifying entry.getValue() > System.currentTimeMillis() is redundant as it is already implied by the first if condition Don't break in case there are other command cooldowns left to clear
- Loading branch information