fix(build): remove vavr and update to api 1.19.2

This commit is contained in:
aro 2022-12-05 18:30:47 +01:00
parent 451e1c4c95
commit 7e51099b8a
3 changed files with 4 additions and 7 deletions

View file

@ -42,7 +42,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.18.2-R0.1-SNAPSHOT</version>
<version>1.19.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -56,11 +56,6 @@
<artifactId>InvUI</artifactId>
<version>0.8.2</version>
</dependency>
<dependency>
<groupId>io.vavr</groupId>
<artifactId>vavr</artifactId>
<version>0.10.4</version>
</dependency>
<dependency>
<groupId>xyz.upperlevel.spigot.book</groupId>
<artifactId>spigot-book-api</artifactId>

View file

@ -19,6 +19,8 @@ public class PlayerJoinListener implements Listener {
Bukkit.getScheduler().runTaskLater(NickoBukkit.getInstance(), () -> {
final AppearanceManager appearanceManager = AppearanceManager.get(player);
// TODO: 12/5/22 Update from BungeeCord
if (appearanceManager.hasData()) {
final UpdateResult updateResult = appearanceManager.updatePlayer(appearanceManager.needsASkinChange());
if (!updateResult.isError()) {

View file

@ -2,7 +2,7 @@ name: ${project.parent.name}
main: net.artelnatif.nicko.NickoBukkit
version: ${project.version}
author: Aro
api-version: 1.18
api-version: 1.19
commands:
nicko:
description: "Opens Nicko's GUI."