aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-19 05:52:14 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-19 05:52:14 -0500
commit306e32869357f2151d733a6b11e547b676d06954 (patch)
treeb2219d640c577ec706dbb6d7936c7d976536ca2d /src/main/kotlin/com/dulkirfabric
parent053db047a053cfa4b510d872802434a922275326 (diff)
downloadDulkirMod-Fabric-306e32869357f2151d733a6b11e547b676d06954.tar.gz
DulkirMod-Fabric-306e32869357f2151d733a6b11e547b676d06954.tar.bz2
DulkirMod-Fabric-306e32869357f2151d733a6b11e547b676d06954.zip
made instance vars private
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric')
-rw-r--r--src/main/kotlin/com/dulkirfabric/features/IPhoneAlarm.kt6
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) {