Update Adventure to fix click event deserialization

Fixes #3054
This commit is contained in:
Camotoy 2022-06-29 16:42:30 -04:00
parent 5d29bda7eb
commit f62484b93e
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -11,12 +11,20 @@
<artifactId>core</artifactId> <artifactId>core</artifactId>
<properties> <properties>
<adventure.version>4.9.3</adventure.version> <adventure.version>4.12.0-20220629.025215-9</adventure.version> <!-- Snapshot fixes https://github.com/KyoriPowered/adventure/issues/792 -->
<fastutil.version>8.5.2</fastutil.version> <fastutil.version>8.5.2</fastutil.version>
<jackson.version>2.13.2</jackson.version> <jackson.version>2.13.2</jackson.version>
<netty.version>4.1.66.Final</netty.version> <netty.version>4.1.66.Final</netty.version>
</properties> </properties>
<repositories>
<repository>
<!-- For Adventure snapshots -->
<id>sonatype-s01</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.geysermc</groupId> <groupId>org.geysermc</groupId>
@ -166,6 +174,11 @@
<groupId>com.github.GeyserMC</groupId> <groupId>com.github.GeyserMC</groupId>
<artifactId>mcauthlib</artifactId> <artifactId>mcauthlib</artifactId>
</exclusion> </exclusion>
<exclusion>
<!-- Remove when MCProtocolLib updates to 4.12-SNAPSHOT or later -->
<groupId>net.kyori</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
@ -245,6 +258,19 @@
<version>${adventure.version}</version> <version>${adventure.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!-- Remove the following two when MCProtocolLib updates to 4.12-SNAPSHOT or later -->
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-serializer-gson</artifactId>
<version>${adventure.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-serializer-gson-legacy-impl</artifactId>
<version>${adventure.version}</version>
<scope>compile</scope>
</dependency>
<!-- Other --> <!-- Other -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>