aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-03-22 02:56:04 -0500
committeringlettronald <inglettronald@gmail.com>2023-03-22 02:56:04 -0500
commit2d250a5dd2250c9bd7ada1f9a5ef32f1fcf6166a (patch)
tree595ae64cf933c6e0ffe9da363353666456a878f2 /src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt
parent2cb6f4cffee0ab505b35938cf71518e4640a229a (diff)
downloadDulkirMod-2d250a5dd2250c9bd7ada1f9a5ef32f1fcf6166a.tar.gz
DulkirMod-2d250a5dd2250c9bd7ada1f9a5ef32f1fcf6166a.tar.bz2
DulkirMod-2d250a5dd2250c9bd7ada1f9a5ef32f1fcf6166a.zip
bugfixing
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt')
-rw-r--r--src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt b/src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt
index a4dfc9b..dd69f24 100644
--- a/src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt
+++ b/src/main/kotlin/dulkirmod/features/MemoryLeakFix.kt
@@ -7,7 +7,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import net.minecraftforge.fml.common.gameevent.TickEvent
object MemoryLeakFix {
- var lastClear = System.currentTimeMillis()
+ private var lastClear = System.currentTimeMillis()
@SubscribeEvent
fun onTick(event: TickEvent.ClientTickEvent) {