Пример #1
0
 async Task IHandle <SpawnBlockEntity> .Handle(SpawnBlockEntity message)
 {
     State.IsCooking = (await AttachedObject.World.GetBlockState(GrainFactory, AttachedObject.Position))
                       .IsSameId(BlockStates.BurningFurnace());
     MarkDirty();
 }