From 6bf023342f3f8df4512ccb2ed5b77b840822629c Mon Sep 17 00:00:00 2001 From: Gabber235 Date: Sun, 29 Dec 2024 09:37:34 +0100 Subject: [PATCH] Duration default value when not set for title --- .../basic/entries/action/ShowTitleActionEntry.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/action/ShowTitleActionEntry.kt b/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/action/ShowTitleActionEntry.kt index 04b62cad70..19fa0d1311 100644 --- a/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/action/ShowTitleActionEntry.kt +++ b/extensions/BasicExtension/src/main/kotlin/com/typewritermc/basic/entries/action/ShowTitleActionEntry.kt @@ -67,9 +67,9 @@ class ShowTitleActionEntry( data class TitleDurations( @Help("The duration of the fade in effect.") - val fadeIn: Duration = Duration.ZERO, + val fadeIn: Duration = Duration.ofSeconds(1), @Help("The duration that it stays.") - val stay: Duration = Duration.ZERO, + val stay: Duration = Duration.ofSeconds(1), @Help("The duration of the fade out effect.") - val fadeOut: Duration = Duration.ZERO, + val fadeOut: Duration = Duration.ofSeconds(1), ) \ No newline at end of file