From 09bdc82efc9c48c62d956978f561d8c1a4153ad5 Mon Sep 17 00:00:00 2001 From: Gabber235 Date: Mon, 16 Dec 2024 14:51:53 +0100 Subject: [PATCH] Cancel swap event for cinematic skip --- .../typewritermc/basic/entries/cinematic/SkipCinematicEntry.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/cinematic/SkipCinematicEntry.kt b/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/cinematic/SkipCinematicEntry.kt index 4420edfac2..d47fc358b7 100644 --- a/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/cinematic/SkipCinematicEntry.kt +++ b/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/cinematic/SkipCinematicEntry.kt @@ -89,6 +89,7 @@ class SkipCinematicAction( plugin.listen(listener) { if (it.player.uniqueId != player.uniqueId) return@listen player.setTemporalFrame(segment.endFrame) + it.isCancelled = true } } }