diff --git a/Java/src/main/java/it/mycraft/powerlib/reflection/ReflectionAPI.java b/Java/src/main/java/it/mycraft/powerlib/reflection/ReflectionAPI.java index ed4f489..34ceaa6 100644 --- a/Java/src/main/java/it/mycraft/powerlib/reflection/ReflectionAPI.java +++ b/Java/src/main/java/it/mycraft/powerlib/reflection/ReflectionAPI.java @@ -18,7 +18,7 @@ public class ReflectionAPI { * @return the server's numerical version */ @Getter - private static int numericalVersion = Integer.parseInt(version.split("_")[2]); + private static int numericalVersion = Integer.parseInt(version.split("_")[1]); /** * @param name The path of a 'net.minecraft.server.v1_X_RX.' class diff --git a/README.md b/README.md index 7577718..2751b89 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ - com.github.AlbeMiglio + com.github.AlbeMiglio.PowerLib PowerLib 1.0.8 -``` \ No newline at end of file +```