fix(build): remove vavr and update to api 1.19.2
This commit is contained in:
parent
451e1c4c95
commit
7e51099b8a
3 changed files with 4 additions and 7 deletions
|
@ -42,7 +42,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.18.2-R0.1-SNAPSHOT</version>
|
<version>1.19.2-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -56,11 +56,6 @@
|
||||||
<artifactId>InvUI</artifactId>
|
<artifactId>InvUI</artifactId>
|
||||||
<version>0.8.2</version>
|
<version>0.8.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>io.vavr</groupId>
|
|
||||||
<artifactId>vavr</artifactId>
|
|
||||||
<version>0.10.4</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>xyz.upperlevel.spigot.book</groupId>
|
<groupId>xyz.upperlevel.spigot.book</groupId>
|
||||||
<artifactId>spigot-book-api</artifactId>
|
<artifactId>spigot-book-api</artifactId>
|
||||||
|
|
|
@ -19,6 +19,8 @@ public class PlayerJoinListener implements Listener {
|
||||||
Bukkit.getScheduler().runTaskLater(NickoBukkit.getInstance(), () -> {
|
Bukkit.getScheduler().runTaskLater(NickoBukkit.getInstance(), () -> {
|
||||||
final AppearanceManager appearanceManager = AppearanceManager.get(player);
|
final AppearanceManager appearanceManager = AppearanceManager.get(player);
|
||||||
|
|
||||||
|
// TODO: 12/5/22 Update from BungeeCord
|
||||||
|
|
||||||
if (appearanceManager.hasData()) {
|
if (appearanceManager.hasData()) {
|
||||||
final UpdateResult updateResult = appearanceManager.updatePlayer(appearanceManager.needsASkinChange());
|
final UpdateResult updateResult = appearanceManager.updatePlayer(appearanceManager.needsASkinChange());
|
||||||
if (!updateResult.isError()) {
|
if (!updateResult.isError()) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ name: ${project.parent.name}
|
||||||
main: net.artelnatif.nicko.NickoBukkit
|
main: net.artelnatif.nicko.NickoBukkit
|
||||||
version: ${project.version}
|
version: ${project.version}
|
||||||
author: Aro
|
author: Aro
|
||||||
api-version: 1.18
|
api-version: 1.19
|
||||||
commands:
|
commands:
|
||||||
nicko:
|
nicko:
|
||||||
description: "Opens Nicko's GUI."
|
description: "Opens Nicko's GUI."
|
||||||
|
|
Loading…
Reference in a new issue