Skip to content

Commit 5560113

Browse files
authored
Merge branch 'main' into nation-founded-ticks
2 parents 5f1262a + 08c2d2b commit 5560113

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<plugin>
3131
<groupId>org.apache.maven.plugins</groupId>
3232
<artifactId>maven-shade-plugin</artifactId>
33-
<version>3.5.3</version>
33+
<version>3.6.0</version>
3434
<executions>
3535
<execution>
3636
<phase>package</phase>
@@ -78,7 +78,7 @@
7878
<dependency>
7979
<groupId>io.javalin</groupId>
8080
<artifactId>javalin</artifactId>
81-
<version>6.1.4</version>
81+
<version>6.1.6</version>
8282
</dependency>
8383
</dependencies>
8484
</project>

src/main/java/pro/cloudnode/smp/smpcore/Rest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public Rest(final int port) {
7373

7474
javalin.get("/", ctx -> {
7575
final @NotNull JsonObject obj = new JsonObject();
76+
obj.addProperty("version", SMPCore.getInstance().getPluginMeta().getVersion());
7677
obj.addProperty("time", SMPCore.gameTime().getTime());
7778
ctx.json(obj);
7879
});

0 commit comments

Comments
 (0)