From 1eb90a5c1773b3b2b4ae7935d83aed0242ceab36 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 30 Jul 2023 10:48:49 +0700 Subject: [PATCH] call setChangedLight when job ticks --- .../dbotthepony/mc/otm/block/entity/MatteryWorkerBlockEntity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/MatteryWorkerBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/MatteryWorkerBlockEntity.kt index 370fd3f6a..90af20413 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/MatteryWorkerBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/MatteryWorkerBlockEntity.kt @@ -55,6 +55,7 @@ abstract class MatteryWorkerBlockEntity( } override fun onJobTick(status: JobStatus) { + super@MatteryWorkerBlockEntity.setChangedLight() return this@MatteryWorkerBlockEntity.onJobTick(status, id) } }