Skip to content

Commit c2fe26a

Browse files
committed
Update version number to 6.18
1 parent 2aa84c9 commit c2fe26a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VotingPlugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.bencodez</groupId>
66
<artifactId>votingplugin</artifactId>
7-
<version>6.17.5-SNAPSHOT</version>
7+
<version>6.18</version>
88
<packaging>jar</packaging>
99
<name>VotingPlugin</name>
1010
<properties>
@@ -257,7 +257,7 @@
257257
<dependency>
258258
<groupId>com.bencodez</groupId>
259259
<artifactId>advancedcore</artifactId>
260-
<version>3.7.12-SNAPSHOT</version>
260+
<version>3.7.12</version>
261261
<scope>compile</scope>
262262
</dependency>
263263
</dependencies>

VotingPlugin/src/com/bencodez/votingplugin/topvoter/TopVoterHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public void onMonthChange(MonthChangeEvent event) {
356356
if (!plugin.getSpecialRewardsConfig().isVoteStreakRequirementUsePercentage()
357357
|| user.hasPercentageTotal(TopVoter.Monthly,
358358
plugin.getSpecialRewardsConfig().getVoteStreakRequirementMonth(),
359-
LocalDateTime.now().minusDays(1))) {
359+
lastMonthTime)) {
360360
user.addMonthVoteStreak();
361361
plugin.getSpecialRewards().checkVoteStreak(user, "Month",
362362
plugin.getBungeeSettings().isUseBungeecoord());

0 commit comments

Comments
 (0)