File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/pro/cloudnode/smp/smpcore Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff 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 });
You can’t perform that action at this time.
0 commit comments