From 1b5476de40baa2a406e527914f2887006a87268e Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 1 Mar 2025 12:22:24 +0700 Subject: [PATCH] Mark chunk dirty when grill fuel ticks --- .../mc/otm/block/entity/decorative/GrillBlockEntity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/decorative/GrillBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/decorative/GrillBlockEntity.kt index 24d5f2f96..b909c6932 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/decorative/GrillBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/decorative/GrillBlockEntity.kt @@ -201,6 +201,8 @@ class GrillBlockEntity(blockPos: BlockPos, blockState: BlockState) : MatteryBloc level!!.setBlock(blockPos, blockState.set(GrillBlock.STATE_PROPERTY, GrillBlock.State.FUELED), Block.UPDATE_ALL) } } + + markDirtyFast() } else { fuelTotalTicks = 0