diff --git a/core/src/main/java/tc/oc/pgm/flag/state/Carried.java b/core/src/main/java/tc/oc/pgm/flag/state/Carried.java
index 50ed669b60..948a765183 100644
--- a/core/src/main/java/tc/oc/pgm/flag/state/Carried.java
+++ b/core/src/main/java/tc/oc/pgm/flag/state/Carried.java
@@ -199,7 +199,7 @@ public void tickRunning() {
if (!message.equals(this.lastMessage)) {
this.lastMessage = message;
this.carrier.showTitle(
- title(empty(), message, Title.Times.of(Duration.ZERO, fromTicks(5), fromTicks(35))));
+ title(empty(), message, Title.Times.times(Duration.ZERO, fromTicks(5), fromTicks(35))));
}
ScoreMatchModule smm = this.flag.getMatch().getModule(ScoreMatchModule.class);
diff --git a/core/src/main/java/tc/oc/pgm/listeners/MatchAnnouncer.java b/core/src/main/java/tc/oc/pgm/listeners/MatchAnnouncer.java
index 13474b937d..6e013a580c 100644
--- a/core/src/main/java/tc/oc/pgm/listeners/MatchAnnouncer.java
+++ b/core/src/main/java/tc/oc/pgm/listeners/MatchAnnouncer.java
@@ -64,7 +64,8 @@ public void onMatchBegin(final MatchStartEvent event) {
match.sendMessage(translatable("broadcast.matchStart", NamedTextColor.GREEN));
Component go = translatable("broadcast.go", NamedTextColor.GREEN);
- match.showTitle(title(go, empty(), Title.Times.of(Duration.ZERO, fromTicks(5), fromTicks(15))));
+ match.showTitle(
+ title(go, empty(), Title.Times.times(Duration.ZERO, fromTicks(5), fromTicks(15))));
match.playSound(SOUND_MATCH_START);
}
diff --git a/core/src/main/java/tc/oc/pgm/spawns/states/Spawning.java b/core/src/main/java/tc/oc/pgm/spawns/states/Spawning.java
index 5c12124a1d..bc69385f32 100644
--- a/core/src/main/java/tc/oc/pgm/spawns/states/Spawning.java
+++ b/core/src/main/java/tc/oc/pgm/spawns/states/Spawning.java
@@ -112,7 +112,7 @@ protected long ticksUntilRespawn() {
}
public void updateTitle() {
- Title.Times times = Title.Times.of(Duration.ZERO, fromTicks(3), fromTicks(3));
+ Title.Times times = Title.Times.times(Duration.ZERO, fromTicks(3), fromTicks(3));
player.showTitle(title(getTitle(false), getSubtitle(false), times));
diff --git a/pom.xml b/pom.xml
index a2f5b00077..f7697f7bd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,24 +93,17 @@
com.viaversion
- viaversion
- 4.5.1
+ viaversion-api
+ 4.9.2
provided
true
-
-
-
- net.md-5
- bungeecord-chat
-
-
com.comphenix.protocol
ProtocolLib
- 5.0.0
+ 5.1.0
@@ -125,19 +118,19 @@
net.kyori
adventure-api
- 4.12.0
+ 4.15.0
compile
net.kyori
adventure-text-serializer-plain
- 4.12.0
+ 4.15.0
compile
net.kyori
adventure-platform-bukkit
- 4.2.0
+ 4.3.2
compile
@@ -185,7 +178,7 @@
fr.mrmicky
FastBoard
- 1.2.1
+ 2.0.2
compile