Add mojang authLib instead of NMS.

This commit is contained in:
BONNe 2021-08-14 21:48:20 +03:00
parent 703658eccc
commit 5d88c7b1d8

13
pom.xml
View File

@ -112,9 +112,10 @@
<id>codemc-repo</id> <id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url> <url>https://repo.codemc.org/repository/maven-public/</url>
</repository> </repository>
<!-- Minecraft Lib Repo -->
<repository> <repository>
<id>codemc-nms</id> <id>minecraft-repo</id>
<url>https://repo.codemc.org/repository/nms/</url> <url>https://libraries.minecraft.net/</url>
</repository> </repository>
<!--Vault Repo is down. --> <!--Vault Repo is down. -->
<repository> <repository>
@ -128,6 +129,14 @@
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Mojang Auth-->
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>1.5.21</version>
<scope>provided</scope>
</dependency>
<!-- Spigot API -->
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>