Skip to content

Commit f826244

Browse files
committed
Bump version
1 parent 36cf6fd commit f826244

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>net.moddedminecraft</groupId>
55
<artifactId>MMCReboot</artifactId>
6-
<version>1.4-API-5.0.0</version>
6+
<version>1.5-API-${api}</version>
77
<name>MMCReboot</name>
88
<description>
99
Restart plugin for sponge to allow server restart timers, countdowns and votes.
@@ -14,6 +14,7 @@
1414
<ghUser>leelawd</ghUser>
1515
<ghRepo>mmcreboot-sponge</ghRepo>
1616
<ghProject>${ghUser}/${ghRepo}</ghProject>
17+
<api>5.0.0</api>
1718

1819
</properties>
1920

@@ -121,7 +122,7 @@
121122
<dependency>
122123
<groupId>org.spongepowered</groupId>
123124
<artifactId>spongeapi</artifactId>
124-
<version>5.0.0</version>
125+
<version>${api}</version>
125126
<scope>provided</scope>
126127
</dependency>
127128
<dependency>

src/main/java/net/moddedminecraft/mmcreboot/Main.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import java.util.TimerTask;
3939
import java.util.concurrent.TimeUnit;
4040

41-
@Plugin(id = "mmcreboot", name = "MMCReboot", version = "1.4", authors = {"Leelawd93"})
41+
@Plugin(id = "mmcreboot", name = "MMCReboot", version = "1.5", authors = {"Leelawd93"})
4242
public class Main {
4343

4444
@Inject
@@ -202,7 +202,7 @@ public Double getTPS() {
202202

203203
public void CheckTPSForRestart() {
204204
if (getTPS() < Config.tpsMinimum && Config.tpsEnabled && !TPSRestarting) {
205-
205+
206206
TPSRestarting = true;
207207

208208
Timer warnTimer = new Timer();

0 commit comments

Comments
 (0)