diff --git a/VotingPlugin/src/com/bencodez/votingplugin/user/VotingPluginUser.java b/VotingPlugin/src/com/bencodez/votingplugin/user/VotingPluginUser.java index b3b6f51f3..fd872c669 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/user/VotingPluginUser.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/user/VotingPluginUser.java @@ -1318,7 +1318,7 @@ public long voteNextDurationTime(VoteSite voteSite, long time) { } else { LocalDateTime resetTime = lastVote.withHour(voteSite.getVoteDelayDailyHour()).withMinute(0).withSecond(0); LocalDateTime resetTimeTomorrow = resetTime.plusHours(24); - if (lastVote.isBefore(resetTime) && now.isBefore(resetTime)) { + if (lastVote.isBefore(resetTime)) { if (now.isBefore(resetTime)) { Duration dur = Duration.between(now, resetTime); return dur.getSeconds();