From 306e32869357f2151d733a6b11e547b676d06954 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Wed, 19 Jul 2023 05:52:14 -0500 Subject: made instance vars private --- src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt b/src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt index 4dcdc69..51d47fb 100644 --- a/src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt +++ b/src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt @@ -11,9 +11,9 @@ import net.minecraft.util.math.BlockPos import java.time.Duration object IPhoneAlarm { - var lastPosition: BlockPos? = null - var lastMoved = TimeMark.farPast() - val soundInstances = mutableListOf() + private var lastPosition: BlockPos? = null + private var lastMoved = TimeMark.farPast() + private val soundInstances = mutableListOf() @EventHandler fun onTick(event: ClientTickEvent) { -- cgit