diff --git a/pom.xml b/pom.xml index eabd18d..eb42765 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.itsnathang.placeholders Geolocation - 1.0 + 1.1 Provides placeholders related to a player's geographical location. @@ -34,4 +34,34 @@ provided + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.2 + + ${name} + + + true + true + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.2 + + 1.8 + 1.8 + UTF-8 + false + + + + \ No newline at end of file diff --git a/src/main/java/me/itsnathang/placeholders/Geolocation.java b/src/main/java/me/itsnathang/placeholders/Geolocation.java index 915aa91..081e024 100644 --- a/src/main/java/me/itsnathang/placeholders/Geolocation.java +++ b/src/main/java/me/itsnathang/placeholders/Geolocation.java @@ -10,7 +10,7 @@ import java.util.UUID; public class Geolocation extends PlaceholderExpansion implements Cleanable { - + private final String VERSION = getClass().getPackage().getImplementationVersion(); private Map cache = new HashMap<>(); @Override @@ -30,7 +30,7 @@ public String getPlugin() { @Override public String getVersion() { - return "1.1"; + return VERSION; } @Override