diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt | 6 |
1 files changed, 3 insertions, 3 deletions
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<SoundInstance>() + private var lastPosition: BlockPos? = null + private var lastMoved = TimeMark.farPast() + private val soundInstances = mutableListOf<SoundInstance>() @EventHandler fun onTick(event: ClientTickEvent) { |