You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/module/modules/world/AutoSign.kt
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -50,14 +50,14 @@ object AutoSign : Module(
50
50
""".trimMargin(),
51
51
tag = ModuleTag.WORLD
52
52
) {
53
-
var autoWrite by setting("Auto Write", true)
54
-
var line1 by setting("Line 1", "Welcome to Lambda!") { autoWrite }
55
-
var line2 by setting("Line 2", "Enjoy your stay.") { autoWrite }
56
-
var line3 by setting("Line 3", "Have fun!") { autoWrite }
57
-
var line4 by setting("Line 4", "Lambda <dd>/<M>/<yy>") { autoWrite }
58
-
var writeOnFront by setting("Write Front", true, description ="Write on front side of the sign") { autoWrite }
53
+
privatevar autoWrite by setting("Auto Write", true)
54
+
privatevar line1 by setting("Line 1", "Welcome to Lambda!") { autoWrite }
55
+
privatevar line2 by setting("Line 2", "Enjoy your stay.") { autoWrite }
56
+
privatevar line3 by setting("Line 3", "Have fun!") { autoWrite }
57
+
privatevar line4 by setting("Line 4", "Lambda <dd>/<M>/<yy>") { autoWrite }
58
+
privatevar writeOnFront by setting("Write Front", true, description ="Write on front side of the sign") { autoWrite }
59
59
60
-
var autoClose by setting("Auto Close", true)
60
+
privatevar autoClose by setting("Auto Close", true)
61
61
var signWriteDelay by setting("Sign Write Delay", 400L, 100L..1000L, 50L, description ="Delay in milliseconds before sending the sign text to the server") { autoClose }
62
62
63
63
init {
@@ -68,7 +68,7 @@ object AutoSign : Module(
68
68
val calendar =Calendar.getInstance()
69
69
val month = calendar.get(Calendar.MONTH) +1// Months are 0-based in Calendar
0 commit comments