From 02606c5ac67c894ec0198bf61ed2b7cc0ed11522 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Tue, 20 Jun 2023 11:33:29 +0700 Subject: [PATCH] Mappings are no longer present --- .../mc/otm/network/synchronizer/FieldSynchronizer.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/network/synchronizer/FieldSynchronizer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/network/synchronizer/FieldSynchronizer.kt index 8de4d082e..22f349eb2 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/network/synchronizer/FieldSynchronizer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/network/synchronizer/FieldSynchronizer.kt @@ -353,12 +353,6 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa var unused: Boolean = false private set - private var mappingVersion = -1 - - fun invalidateMappings() { - mappingVersion = -1 - } - fun markUnused() { require(this === defaultEndpoint) { "This is not a default endpoint" } if (unused) return @@ -1823,10 +1817,6 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa for (field in fields) { field?.markDirty() } - - forEachEndpoint { - it.invalidateMappings() - } } /**