From c713879312ec8f54802f0156be9f3c461c975c91 Mon Sep 17 00:00:00 2001 From: Artemis-the-gr8 Date: Mon, 22 Aug 2022 21:21:33 +0200 Subject: [PATCH] Added #getVersion() for reflection, moved lib folder (#120) --- dependency-reduced-pom.xml | 8 ++++---- pom.xml | 8 ++++---- .../com/artemis/the/gr8/playerstats/api/PlayerStats.java | 4 ++++ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml index 2d23a8b..df3b7ed 100644 --- a/dependency-reduced-pom.xml +++ b/dependency-reduced-pom.xml @@ -60,15 +60,15 @@ net.kyori - com.artemis.the.gr8.lib.kyori + com.artemis.the.gr8.playerstats.lib.kyori com.tchristofferson - com.artemis.the.gr8.util.tchristofferson + com.artemis.the.gr8.playerstats.lib.tchristofferson org.bstats - com.artemis.the.gr8.util.bstats + com.artemis.the.gr8.playerstats.lib.bstats @@ -120,7 +120,7 @@ sign-artifacts - verify + deploy sign diff --git a/pom.xml b/pom.xml index f9e343e..5b317df 100644 --- a/pom.xml +++ b/pom.xml @@ -152,15 +152,15 @@ net.kyori - com.artemis.the.gr8.lib.kyori + com.artemis.the.gr8.playerstats.lib.kyori com.tchristofferson - com.artemis.the.gr8.util.tchristofferson + com.artemis.the.gr8.playerstats.lib.tchristofferson org.bstats - com.artemis.the.gr8.util.bstats + com.artemis.the.gr8.playerstats.lib.bstats @@ -214,7 +214,7 @@ sign-artifacts - verify + deploy sign diff --git a/src/main/java/com/artemis/the/gr8/playerstats/api/PlayerStats.java b/src/main/java/com/artemis/the/gr8/playerstats/api/PlayerStats.java index 98a55aa..b497253 100644 --- a/src/main/java/com/artemis/the/gr8/playerstats/api/PlayerStats.java +++ b/src/main/java/com/artemis/the/gr8/playerstats/api/PlayerStats.java @@ -30,6 +30,10 @@ public interface PlayerStats { return Main.getPlayerStatsAPI(); } + default String getVersion() { + return "1.8"; + } + StatManager getStatManager(); ApiFormatter getFormatter();