mirror of
https://github.com/itHotL/PlayerStats.git
synced 2025-02-12 01:01:21 +01:00
Added #getVersion() for reflection, moved lib folder (#120)
This commit is contained in:
parent
86ef019371
commit
c713879312
@ -60,15 +60,15 @@
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>net.kyori</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.lib.kyori</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.kyori</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>com.tchristofferson</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.util.tchristofferson</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.tchristofferson</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.bstats</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.util.bstats</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.bstats</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<filters>
|
||||
@ -120,7 +120,7 @@
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<phase>deploy</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
|
8
pom.xml
8
pom.xml
@ -152,15 +152,15 @@
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>net.kyori</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.lib.kyori</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.kyori</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>com.tchristofferson</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.util.tchristofferson</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.tchristofferson</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.bstats</pattern>
|
||||
<shadedPattern>com.artemis.the.gr8.util.bstats</shadedPattern>
|
||||
<shadedPattern>com.artemis.the.gr8.playerstats.lib.bstats</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<filters>
|
||||
@ -214,7 +214,7 @@
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<phase>deploy</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
|
@ -30,6 +30,10 @@ public interface PlayerStats {
|
||||
return Main.getPlayerStatsAPI();
|
||||
}
|
||||
|
||||
default String getVersion() {
|
||||
return "1.8";
|
||||
}
|
||||
|
||||
StatManager getStatManager();
|
||||
|
||||
ApiFormatter getFormatter();
|
||||
|
Loading…
Reference in New Issue
Block a user