From feb1f8d9d6efec8cf7d08ec14f65cd10162568f0 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 26 Jan 2023 21:47:44 +0700 Subject: [PATCH] Rename field -> access in FieldSetter --- .../kotlin/ru/dbotthepony/mc/otm/network/FieldSynchronizer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/network/FieldSynchronizer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/network/FieldSynchronizer.kt index 258c199af..f2972666d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/network/FieldSynchronizer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/network/FieldSynchronizer.kt @@ -59,7 +59,7 @@ fun interface FieldGetter { } fun interface FieldSetter { - fun invoke(value: V, field: FieldAccess, setByRemote: Boolean) + fun invoke(value: V, access: FieldAccess, setByRemote: Boolean) } sealed interface IField : ReadOnlyProperty, Supplier, () -> V {