aboutsummaryrefslogtreecommitdiff
path: root/spark-common
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-06-26 19:19:49 +0100
committerLuck <git@lucko.me>2022-06-26 19:19:49 +0100
commitd5d5cb10714b0993ec91d6a2b523b661c1314917 (patch)
tree9f5980fd62ffe9616618eb481e0f588c9c1b4744 /spark-common
parentfed6a350a80f6daa8c170770e5f300a0d5aa0894 (diff)
downloadspark-d5d5cb10714b0993ec91d6a2b523b661c1314917.tar.gz
spark-d5d5cb10714b0993ec91d6a2b523b661c1314917.tar.bz2
spark-d5d5cb10714b0993ec91d6a2b523b661c1314917.zip
Update adventure version
Diffstat (limited to 'spark-common')
-rw-r--r--spark-common/build.gradle9
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java1
2 files changed, 7 insertions, 3 deletions
diff --git a/spark-common/build.gradle b/spark-common/build.gradle
index 554eec2..bc493f3 100644
--- a/spark-common/build.gradle
+++ b/spark-common/build.gradle
@@ -15,15 +15,18 @@ dependencies {
implementation 'com.squareup.okio:okio:1.17.3'
implementation 'net.bytebuddy:byte-buddy-agent:1.11.0'
implementation 'org.tukaani:xz:1.8'
- api('net.kyori:adventure-api:4.9.3') {
+ api('net.kyori:adventure-api:4.11.0') {
+ exclude(module: 'adventure-bom')
exclude(module: 'checker-qual')
exclude(module: 'annotations')
}
- api('net.kyori:adventure-text-serializer-gson:4.9.3') {
+ api('net.kyori:adventure-text-serializer-gson:4.11.0') {
+ exclude(module: 'adventure-bom')
exclude(module: 'adventure-api')
exclude(module: 'gson')
}
- api('net.kyori:adventure-text-serializer-legacy:4.9.3') {
+ api('net.kyori:adventure-text-serializer-legacy:4.11.0') {
+ exclude(module: 'adventure-bom')
exclude(module: 'adventure-api')
}
implementation('net.kyori:adventure-text-feature-pagination:4.0.0-SNAPSHOT') {
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
index b777f3e..6252ac7 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/ActivityLogModule.java
@@ -50,6 +50,7 @@ import static net.kyori.adventure.text.format.TextDecoration.BOLD;
public class ActivityLogModule implements CommandModule, RowRenderer<Activity> {
private final Pagination.Builder pagination = Pagination.builder()
+ .width(45)
.renderer(new Renderer() {
@Override
public Component renderEmpty() {